LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   How to make cross compilation toolchain for mips architecture (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/how-to-make-cross-compilation-toolchain-for-mips-architecture-592182/)

kennithwang 10-16-2007 04:59 AM

How to make cross compilation toolchain for mips architecture
 
Hi friends,

How to make cross compilation toolchain for mips architecture?
Would you pls give me suggestions for me, or URL about this problem?
Any advice will be appreciated!

Thanks,
Kennith

weibullguy 10-16-2007 05:34 AM

http://cross-lfs.org/view/1.0.0/

kennithwang 10-16-2007 11:37 PM

Hi weibullguy and other friends,

I am very thankful to your help! I know the basic procedures to make cross-compiler. But we have no ideas to the relationship among those components, such as binutils, gcc, glibc, and gde. Espesially, the the linuxthreads.

What do the linuxthreads affect other parts, such as linux os kernel, application codes?

Thanks,
Kennith

psychicist 10-20-2007 08:03 AM

You should just follow the directions in the link weibullguy gave you, since the only way to find out is by your own experience. I have completed a SPARC64 CFLS from SPARC. If you only need a cross-compiler you should only complete the first part of building cross-binutils, cross-gcc and cross-glibc.

Binutils contain among others the assembler (as) and linker (ld), GCC is the compiler collection and Glibc is your C library. These only exist in the context of a target system, so you also need kernel headers for you target system. CLFS describes all of this so you don't have to worry about it too much.


All times are GMT -5. The time now is 11:52 AM.