LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 10-16-2007, 05:59 AM   #1
kennithwang
Member
 
Registered: Aug 2007
Location: shanghai
Distribution: LDD
Posts: 32

Rep: Reputation: 15
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
 
Old 10-16-2007, 06:34 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,753
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
http://cross-lfs.org/view/1.0.0/
 
Old 10-17-2007, 12:37 AM   #3
kennithwang
Member
 
Registered: Aug 2007
Location: shanghai
Distribution: LDD
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 10-20-2007, 09:03 AM   #4
psychicist
Member
 
Registered: Apr 2007
Posts: 80

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
distcc cross architecture compiling Moebius Linux - Software 2 01-09-2008 07:20 AM
LXer: NSpluginwrapper: A cross-architecture browser plugin tool LXer Syndicated Linux News 0 07-08-2006 09:21 AM
Doubt on which architecture to choose for kernel compilation???? tuxfood Linux - Software 1 01-03-2006 11:30 AM
How to cross-compile X window for mips! whutxuan Programming 4 09-26-2005 03:20 PM
Building cross-compiling toolchain radhapriya Linux - Software 1 06-25-2004 01:01 AM


All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration