MIPS(el) Toolchain
Daniel Kegel
dank@kegel.com
Thu Jul 7 20:35:00 GMT 2005
Matej Kupljen wrote:
>>>I followed TheNop's suggestions and I was able to build
>>>gcc-3.3.5 and glibc-2.3.5 with kernel 2.4.26 for mips and
>>>mipsel. However those patches do not appear in official crosstool.
>>>
>>>Do you plan to use the patches?
>>>This way maybe the build matrix can be updated, now it just
>>>red and yellow. :-(
OK, I've added the patch from
http://sources.redhat.com/bugzilla/show_bug.cgi?id=758
to patches/glibc-2.3.5 as suggested by TheNop, which should fix problems like
error: `SYS_read' undeclared (first use in this function)
error: `SYS_write' undeclared (first use in this function)
when building user apps.
And I've added glibc-mips-bootstrap-gcc-header-install.patch
from Steven J. Jill (and modified crosstool.sh to set BOOTSTRAP_GCC appropriately),
which should fix the error
In file included from posix/sys/types.h:31,
from include/sys/types.h:1,
from misc/sys/uio.h:24,
from <stdin>:3:
sysdeps/generic/bits/types.h:127:3: #error
make[1]: *** [/home/dank/queue/jobdir.fast2/crosstool-0.35/build/mips-unknown-linux-gnu/gcc-4.0.0-glibc-2.3.5/build-glibc-headers/bits/stdio_lim.st] Error 1
make[1]: Leaving directory `/home/dank/queue/jobdir.fast2/crosstool-0.35/build/mips-unknown-linux-gnu/gcc-4.0.0-glibc-2.3.5/glibc-2.3.5'
make: *** [install-headers] Error 2
when building mips toolchains for glibc-2.3.5.
I'm doing a check build now. crosstool-0.37 is getting close.
Thanks,
Dan
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list