[uClibc]Compiling crossplatform development system with buildroot
Markus Pietrek
maillist at fsforth.de
Fri Apr 25 14:36:19 UTC 2003
Hi folks,
I want to create an ARM7TDMI uClibc for an x86 host with buildroot. Having
configured the buildroot/Makefile for an ARCH=arm and gcc-2.95.4 and adapted
the make/system-linux.mk to my local kernel paths, the build of uClibc-0.9.19
fails with
/targets/tmp/z/buildroot/build/staging_dir/bin/arm-uclibc-gcc -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fstrict-aliasing
-Os -march=arm7tdmi -fno-builtin -nostdinc -D_LIBC -I../../../include -I.
-I/targets/tmp/z/buildroot/build/staging_dir/lib/gcc-lib/arm-linux/2.95.4/include
-DNDEBUG -msoft-float -c __assert.c -o __assert.o
cc1: bad value (arm7tdmi) for -march= switch
The compilation of the gcc seemed to fail to, because just a few lines above I
read
#Cleanup then mess when --program-prefix mysteriously fails
mv /targets/tmp/z/buildroot/build/staging_dir/bin/arm-linux-cpp
/targets/tmp/z/buildroot/build/staging_dir/bin/arm-uclibc-cpp
mv: cannot stat
`/targets/tmp/z/buildroot/build/staging_dir/bin/arm-linux-cpp': No such file
or directory
make: [/targets/tmp/z/buildroot/build/staging_dir/bin/arm-uclibc-gcc] Error 1
(ignored)
mv /targets/tmp/z/buildroot/build/staging_dir/bin/arm-linux-gcc
/targets/tmp/z/buildroot/build/staging_dir/bin/arm-uclibc-gcc
Did anyone succeeded in building a toolchain for an ARM7TDMI and an x86 host
already?
Best regards,
--
Markus Pietrek
FS Forth-Systeme GmbH
Phone: +49 (7667) 908 145, FAX +49 (7667) 908 221
More information about the uClibc
mailing list