This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Use a Linux compiler or give up ?


Hi;

I was surprised by an error that implies that toolchains can only be
built on Linux; has anyone else seen this?

====
/opt/crosstool/gcc-3.4.5-glibc-2.3.6/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu/include/asm/sgidefs.h:18:2:
error: #error Use a Linux compiler or give up.

...
...
/*
* Using a Linux compiler for building Linux seems logic but not to
* everybody.
*/
#ifndef __linux__
#error Use a Linux compiler or give up.
#endif


I'm building on a Mac, I've got a quick patch inplace to cheat the MacOSX as/ld version issues. Is it unrealistic to think of cross-compiling on Mac?

Allan

--
allanc@chickenandporn.com  http://dr.chickenandporn.com/

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]