>--------Here is how I built glibc--------------------
>[root@harry Dave]# CC=arm-linux-gcc ./configure
>arm-linux --build=i686-pc-linux-gnu
>--prefix=/usr/local/arm/glibc/arm-linux-glibc --enable-add-ons
>--with-headers=/usr/src/armlinux-2.2.12/linux/includels

That seems dubious.  How did you configure GCC?

If you configure GCC with, say, --prefix=/usr/local/arm-tools/, you must 
configure glibc with --prefix=/usr/local/arm-tools/arm-linux/.  It's important 
that one is a subdirectory of the other.

You can't just configure the two with arbitrary prefixes and expect them to 
find each other.

> /usr/local/arm/lib/gcc-lib/arm-linux/egcs-2.91.66/include
> /usr/local/arm/arm-linux/include

That is correct if you configured gcc with --prefix=/usr/local/arm/.

>------Hmmm. if I use -I option to show it where the *.h is, it fails at
>link!------
>...and can't find crt1.o ....

Same problem.

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to