|
cross compile gcc for mipsel: msg#00161lib.uclibc.general
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello! i have been going thru some pain cross-compiling gcc for a mipsel platform. now i have had success using buildroot by adding "--build=$(GNU_HOST_NAME) \" to the gcc configure in gcc_target.mk. this way it still fails at a point where gcc needs limits.h and cant find it. i solved this by editing gcc-target/gcc/Makefile and adding the include directory of the target, so it reads: INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \ -I$(srcdir)/config -I$(srcdir)/../include \ -I/data/uclibc/buildroot/build/root/usr/include if anyone knows a better solution, please let me know. thanks, bruno -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+eE8Pfg2jtUL97G4RAsbbAJsGZ5PfoAIfKM8TUDKAZs6hVJ2vEwCfSCmJ Z6o8jfUrlVVfe6sm8W33kFg= =qmI1 -----END PGP SIGNATURE----- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: about Invalid ELF header: 00161, zhangzr |
|---|---|
| Next by Date: | Re: Re: compiling perl: 00161, Claus Rosenberger |
| Previous by Thread: | -msoft-float and libgcci: 00161, David Wuertele |
| Next by Thread: | uclibc Debian: 00161, Justin Cormack |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |