Problem using crosstool for powerpc-750 and gcc-3.3.2-glibc-2.3.2

Hi everybody,

I wanted to build the gcc compiler 3.3.2 with glib-2.3.2 for powerpc-750 and used Dan's crosstool-0.43. After modifiying the "demo- powerpc-750.sh" script using

TARBALLS_DIR=/home/stephan/downloads RESULT_TOP=/home/stephan/opt/crosstool export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES="c,c++"

[...]

eval `cat powerpc-750.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh -- notest

I got a bunch of errors

cc1: error: unrecognized command line option "-mnew-mnemonics".

At the end the compilation completely failed with

/local/stephan/crosstool-0.43/build/powerpc-750-linux-gnu/gcc-3.3.2- glibc-2.3.2/gcc-3.3.2/gcc/read-rtl.c:653: error: invalid lvalue in increment make[1]: *** [read-rtl.o] Error 1 make[1]: Leaving directory `/local/stephan/crosstool-0.43/build/powerpc-750-linux-gnu/gcc-3.3.2- glibc-2.3.2/build-gcc-core/gcc' make: *** [all-gcc] Error 2

My linux version is Ubuntu 4.1.2-16ubuntu2 and for my (native) gcc compiler 4.1.3 20070929 (prerelease).

For gcc-4.1.0 in combination with glibc-2.3.6 with corresponding settings everything worked fine.

Could anyone help?

Thanks in advance, Stephan

Reply to
stephan.zimmer
Loading thread data ...

It seems that I solved the problem. If you are curious, have a look at the crossgcc mailing list at "

formatting link

2008-04/msg00035.html".

Stephan

Reply to
stephan.zimmer

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.