This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: wirespeed arm-uclinux gcc/glibc build error



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)

tool-build-script.tar.gz

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]