[uClibc] Compiling uClibc for arm
tian tao
tiantao1982 at hotmail.com
Tue Sep 28 07:36:54 UTC 2004
Hi all,
I am a new user to uclibc. I downloaded the binutils, gcc and uclibc,
and hope to build a cross compile enviroment for my ipaq H3900, which is
using a PXA250 processor. I have built a cross compile enviroment of glibc
successfully. But I hope to built my ipaq application with uclibc to make
the application smaller.
I downloaded uClibc-0.9.26, untar it. Then I choose to config it with
make config. I just chose the target architecture to "ARM" and target
processor to "XSCALE", and make other config options as default. And then I
got the following error message, can anyone point me how can I correct it?
Thank you very much and hope your suggestion. Thank you!
TianTao
make -C ldso;
make[2]: Entering directory `/usr/src/uClibc-0.9.26/ldso/ldso'
echo "const char *_dl_progname=\""ld-uClibc.so.0"\";" > _dl_progname.h
echo "#include \"arm/elfinterp.c\"" >> _dl_progname.h
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fstrict-aliasi
ng -Os -mlittle-endian -mtune=strongarm110 -march=armv4 -Wa,-mcpu=xscale
-fPIC -
DUCLIBC_RUNTIME_PREFIX=\"/usr/arm-linux-uclibc/\" -fno-builtin -nostdinc
-I../../ld
so/include -I. -I../../include
-I/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -
I../libdl -c arm/resolve.S -o arm/resolve.o
as: unrecognized option `-mcpu=xscale'
make[2]: *** [arm/resolve.o] Error 1
make[2]: Leaving directory `/usr/src/uClibc-0.9.26/ldso/ldso'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/uClibc-0.9.26/ldso'
make: *** [_dir_ldso] Error 2
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/
More information about the uClibc
mailing list