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



>../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)

------
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]