[uClibc]--build= still needed for gcc_target.mk (patch)
David Wuertele
dave-gnus at bfnet.com
Thu Mar 6 23:04:36 UTC 2003
I find I still need this patch to get the binutils-target and
gcc-target Makefiles created with proper build system defaults:
*** gcc_target.mk~ Wed Mar 5 15:01:28 2003
--- gcc_target.mk Thu Mar 6 14:48:08 2003
***************
*** 101,106 ****
--- 101,107 ----
$(BINUTILS_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
***************
*** 297,302 ****
--- 298,304 ----
$(GCC_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
I'm still having problems compiling gcc-target, when the crtstuff.c
file tries to include limits.h. Here's the error I get:
/opt/buildroot/buildroot-3.6.2003/build/staging_dir/bin/mipsel-uclibc-gcc -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I/opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc -I/opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc/. -I/opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc/config -I/opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions \
-c /opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from include/limits.h:11,
from /opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc/tsystem.h:84,
from /opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc/crtstuff.c:62:
/opt/buildroot/buildroot-3.6.2003/build/staging_dir/lib/gcc-lib/mipsel-linux/3.2.2/include/syslimits.h:7:25: no include path in which to find limits.h
/opt/buildroot/buildroot-3.6.2003/toolchain_build/gcc-3.2.2/gcc/crtstuff.c:195: warning: `__EH_FRAME_BEGIN__' defined but not used
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/opt/buildroot/buildroot-3.6.2003/build/gcc-target/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/opt/buildroot/buildroot-3.6.2003/build/gcc-target'
make: *** [/opt/buildroot/buildroot-3.6.2003/build/gcc-target/.compiled] Error 2
Any suggestions?
Thanks,
Dave
More information about the uClibc
mailing list