Compiling a cross-gcc (3.3.2/3.3.3)

Erhard.Wagner@wagner-systems.de Erhard.Wagner@wagner-systems.de
Fri Mar 12 11:47:00 GMT 2004


Hello people,

My developing host is CYGWIN on an NT-Machine.

I try to build a cross-compiler "sh-elf". But it does not work in version 
3.3.3  (gcc-3.3.3.tar.gz)!
I got the message:


make[3]: Leaving directory `/usr/src/gcc-3.3.3/build/sh-elf/newlib'
Making all in libc
make[3]: Entering directory `/usr/src/gcc-3.3.3/build/sh-elf/newlib/libc'
Making all in argz
make[4]: Entering directory 
`/usr/src/gcc-3.3.3/build/sh-elf/newlib/libc/argz'
/usr/src/gcc-3.3.3/build/gcc/xgcc -B/usr/src/gcc-3.3.3/build/gcc/ 
-nostdinc -B/usr/src/gcc-3.3.3/build/sh-elf/newlib/ -isystem 
/usr/src/gcc-3.3.3/build/sh-elf/newlib/targ-include -isystem 
/usr/src/gcc-3.3.3/newlib/libc/include -B/usr/local/sh-elf/sh-elf/bin/ 
-B/usr/local/sh-elf/sh-elf/lib/ -isystem /usr/local/sh-elf/sh-elf/include 
-DPACKAGE=\"newlib\" -DVERSION=\"1.11.0\"  -I. 
-I../../../../../newlib/libc/argz  -O2 -DHAVE_GETTIMEOFDAY 
-DWANT_PRINTF_LONG_LONG -fno-builtin      -O2 -g -O2 -c 
../../../../../newlib/libc/argz/dummy.c
/usr/src/gcc-3.3.3/build/gcc/xgcc: not found
make[4]: *** [dummy.o] Error 127
make[4]: Leaving directory 
`/usr/src/gcc-3.3.3/build/sh-elf/newlib/libc/argz'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gcc-3.3.3/build/sh-elf/newlib/libc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gcc-3.3.3/build/sh-elf/newlib'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/gcc-3.3.3/build/sh-elf/newlib'
make: *** [all-target-newlib] Error 2


Version 3.3.2 works much better, but there is also a fault!

At several places you forgot the parameter -p in mkdir statements!

When I create the missing subdirs by hand, make finished well.


Kindest Regards
Erhard Wagner



More information about the Gcc-help mailing list