[ trouble building MIPS gcc on Linux pc]

Dara Hazeghi dhazeghi@yahoo.com
Tue Nov 11 07:34:00 GMT 2003


Hello,

building a cross compiler is a relatively involved
process. For an overview, see the CrossGCC FAQ (a bit
outdated, but still pretty good):
<http://www.sthoward.com/CrossGCC/FAQ-4.html#ss4.2>.

For your problem, you need to download and install
cross binutils (configuring with
--target=mips-linux-gnu should be good enough).

However, to build gcc you'll need mips-linux libraries
and headers. You'll either need to extrac them from an
existing installation, or build them as part of the
process. Simpler approach is using prebuilt ones. See
<http://bytesex.org/cross-compiler.html> for an
example of how. If you actually want to build
everything from scratch, Dan Kegel's crosstool is
likely to help considerably
<http://www.kegel.com/crosstool/>.

Also, you may want to address future questions to the
crossgcc mailing list: crossgcc@sources.redhat.com
(see <http://sources.redhat.com/ml/crossgcc>).

Cheers,

Dara

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



More information about the Gcc-help mailing list