This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updating powerpc-crosscompile environment from gcc-2.95.3


Kimmo,

I am trying something very similar. I am trying to use binutils-2.15, gcc gcc-4.0.1, glibc-2.3.5 all for the Freescale MPC5200 (603e core).

Your config:
../gcc-4.0.2/configure --target=powerpc-linux --with-cpu=603e --nfp --prefix=/tmp/cross --enable-shared --enable-languages="c" --with-newlib --disable-threads


--> try --disable-shared because on the first gcc build you do not yet have libraries to share.


My config: PREFIX=/opt/ppc TARGET=powerpc-motorola-linux PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:$PREFIX/bin

"../gcc-4.0.1/configure --prefix=$PREFIX --target=$TARGET --disable-nls --disable-shared --enable-languages=c --without-headers --with-newlib"

"make"

I get farther then the message you have but it still fails with:
checking for powerpc-motorola-linux-gcc... /rpm/ppc/build/gcc/gcc/xgcc -B/rpm/ppc/build/gcc/gcc/ -B/opt/ppc/powerpc-motorola-linux/bin/ -B/opt/ppc/powerpc-motorola-linux/lib/ -isystem /opt/ppc/powerpc-motorola-linux/include -isystem /opt/ppc/powerpc-motorola-linux/sys-include
checking for C compiler default output file name... configure: error: C compiler cannot create executables


Note:
- I do have logs if anyone wants to see them.
- I have also added the "--with-cpu=603e" option and get the same error.

Frank Beesley



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