Building a c4x-cross-compiler

Uwe Reimann gcc-help@pulsar.homelinux.net
Mon Feb 10 18:59:00 GMT 2003


Hi,

I just wanted to build a cross compiler for c4x from latest cvs-sources. 
I configured with:

../../sources/gcc/gcc/configure --prefix=/home/ureimann/c4x-cvs 
--target=c4x --with-newlib --enable-languages=c

The compilation broke with the following:

/home/ureimann/c4x-cvs/build/gcc/gcc/xgcc 
-B/home/ureimann/c4x-cvs/build/gcc/gcc/ 
-B/home/ureimann/c4x-cvs/c4x/bin/ -B/home/ureimann/c4x-cvs/c4x/lib/ 
-isystem /home/ureimann/c4x-cvs/c4x/include -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include  -Dexit=unused_exit -g 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. 
-I../../../sources/gcc/gcc/gcc -I../../../sources/gcc/gcc/gcc/. 
-I../../../sources/gcc/gcc/gcc/config 
-I../../../sources/gcc/gcc/gcc/../include  -DL_gcov -c 
../../../sources/gcc/gcc/gcc/libgcov.c -o libgcc/./_gcov.o
../../../sources/gcc/gcc/gcc/libgcov.c:42:19: stdio.h: Datei oder 
Verzeichnis nicht gefunden

followed by many parse-errors in gcov-io.h.

("Datei oder Verzeichnis nicht gefunden" means "no such file or directory")

In earlier versions of gcc (gcc-3.2.1), --with-newlib told the compiler 
not to include any system-includes (which i don't have).

Any ideas?

Regards, Uwe



More information about the Gcc-help mailing list