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]

RE: glibc-2.3.5 MIPS cross-compile


Actually the crosstool-0.38 now includes Matej patch for fixing the
"-m=abi32" problem.
Now I am working on a problem where I get the error caused by an 
$ifndef __linux__
#error use a linux compiler /* or something like that I am building on
cygwin */
#endif
in include/asm-mips/sgidefs.h


I wrote a patch to comment out the #error 
--- sgidefs.h   2005-08-28 17:41:01.000000000 -0600
+++ sgidefs.fix.h       2005-09-09 19:05:05.312500000 -0600
@@ -15,7 +15,7 @@
  * everybody.
  */
 #ifndef __linux__
-#error Use a Linux compiler or give up.
+/* #error Use a Linux compiler or give up. */
 #endif


and hacked it into crosstool.sh

I haven't finished testing it yet but will let you know.

-----Original Message-----
From: Dan Kegel [mailto:dank@kegel.com] 
Sent: Friday, September 09, 2005 8:30 PM
To: Kyle Unice
Cc: crossgcc@sources.redhat.com
Subject: Re: glibc-2.3.5 MIPS cross-compile

Kyle Unice wrote:
> I want to build a toolchain for MIPS32 on cygwin.  I tried crosstool but
it
> failed.

How?


-- 
Trying to get a job as a c++ developer?  See
http://kegel.com/academy/getting-hired.html


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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