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]
Other format: [Raw text]

problem building native gcc3.3.1 with crossgcc3.3.1 from crosstool script


Hi
I recently upgraded from gcc 2.95.3 to gcc 3.3.1 in my ppc embedded
linux build system.

I first build a cross toolchain and then use this to build a rfs for my
powerpc target.  Included in this is a native ppc gcc.
When I was using gcc 2.95.3 the final native compiler worked fine.  Now
that I am building 3.3.1 compilers the final rfs native compiler does
not build as before.  Specifically,
$ROOTFS/usr/lib/gcc-lib/3.3.1/include doesn't contain all the components
it did for 2.95.3.  For example syslimits.h is missing.

------------------------------------------------------
#!/bin/bash

echo Building native gcc

cd ${PRJROOT}/sysapps
tar xzf ${BUILD_SOURCES}/gcc-3.3.1.tar.gz
mkdir build-gcc
cd build-gcc

../gcc-3.3.1/configure --host=${TARGET} --build=i686-pc-linux-gnu \
--prefix=/usr --enable-threads=posix --with-cpu=750 \
--enable-languages=c,c++ 2>&1 | tee configure-log

make all 2>&1 | tee make-log
make prefix=${PRJROOT}/rootfs/usr install

cd ${PRJROOT}/rootfs/usr
ln -s gcc cc


-------------------------------------------------------

is what I'm using to build the native gcc using my crossgcc
Are there any other options that gcc 3.3 needs that 2.95 didn't?

Any thoughts on what's gone wrong would be greatly appreciated.

Thanks,
Alex
This email and any attachments are confidential to the intended recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify Thales Underwater Systems on +44 1963
370 551. You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.

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


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