public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building a c4x-cross-compiler
@ 2003-02-10 18:59 Uwe Reimann
  0 siblings, 0 replies; only message in thread
From: Uwe Reimann @ 2003-02-10 18:59 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-10 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10 18:59 Building a c4x-cross-compiler Uwe Reimann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).