wirespeed arm-uclinux gcc/glibc build error

John Andrews john@triscend.com
Tue Jun 26 02:53:00 GMT 2001


Thank You Peter and Philip!

Its finally running. Resulting script tarball attached.

John E. A.

p.s. This is an example for a presentation at the Embedded Linux Expo in San
Jose
     this week: Building GNU crosstools - from the newbies perspective.
     (I've certainly got the last part wired 8-)
     Check it out in the archives after 6/29/2001: www.elinuxexpo.com

-----Original Message-----
From: Peter Barada [ mailto:pbarada@mail.wm.sps.mot.com ]
Sent: Friday, June 22, 2001 1:58 PM
To: john@triscend.com
Cc: crossgcc@sourceware.cygnus.com; uclinux-dev@uClinux.org
Subject: Re: wirespeed arm-uclinux gcc/glibc build error



>../glibc-2.1.3-uclinux-arm/configure --host=3Darm-uclinux =
>--enable-add-ons --prefix=3D${PREFIX}/arm-uclinux =
>--with-headers=3D${PREFIX}/arm-uclinux/include --without-fp =
>--program-prefix=3D"arm-uclinux-" --disable-profile --enable-omit-fp =
>--disable-shared --enable-static-nss --disable-libio  2>&1 | tee =

Try adding:

CC=arm-wirespeed-uclinux-gcc \
AR=arm-wirespeed-uclinux-ar \
RANLIB=arm-wirespeed-uclinux-ranlib 

to the start of the configure line for glibc.  This will tell configure to
use these tools instead of 'gcc', 'ar', and 'ranlib'.  You have ot
make sure that the cross tools are in your path so configure can find
them...

So it should look like:

CC=arm-wirespeed-uclinux-gcc \
AR=arm-wirespeed-uclinux-ar \
RANLIB=arm-wirespeed-uclinux-ranlib 
../glibc-2.1.3-uclinux-arm/configure --host=3Darm-uclinux \
--enable-add-ons --prefix=3D${PREFIX}/arm-uclinux \
--with-headers=3D${PREFIX}/arm-uclinux/include --without-fp \
--program-prefix=3D"arm-uclinux-" --disable-profile --enable-omit-fp \
--disable-shared --enable-static-nss --disable-libio  2>&1 | tee \
configure.log

Give it whirl and see what happens...

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tool-build-script.tar.gz
Type: application/x-gzip
Size: 9405 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20010626/223aa40b/attachment-0001.bin>


More information about the crossgcc mailing list