stdio.h: File not found?!?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I am trying a cross compile (--build=x86_64-suse-linux 
--host=x86_64-suse-linux --target=mingw32)  and I get the following strange 
error message:

------------
make[3]: Entering directory 
`/work/rpm/BUILD/gnat-gcc-mingw/x86_64-suse-linux/gcc'
/work/rpm/BUILD/gnat-gcc-mingw/x86_64-suse-linux/./gcc/xgcc 
-B/work/rpm/BUILD/gnat-gcc-mingw/x86_64-suse-linux/./gcc/ 
-B/opt/gnat/gcc-mingw/mingw32/bin/ -B/opt/gnat/gcc-mingw/mingw32/lib/ 
-isystem /opt/gnat/gcc-mingw/mingw32/include 
-isystem /opt/gnat/gcc-mingw/mingw32/sys-include -O2 
-I../../gcc-4.1.0/gcc/../winsup/w32api/include -O2 -g -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g 
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. 
-I. -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/. 
-I../../gcc-4.1.0/gcc/../include -I../../gcc-4.1.0/gcc/../libcpp/include  
-DL_muldi3 -c ../../gcc-4.1.0/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ./tm.h:10,
                 from ../../gcc-4.1.0/gcc/libgcc2.c:35:
../../gcc-4.1.0/gcc/config/i386/cygming.h:52:19: error: stdio.h: Datei oder 
Verzeichnis nicht gefunden
In file included from ./tm.h:10,
                 from ../../gcc-4.1.0/gcc/libgcc2.c:35:
../../gcc-4.1.0/gcc/config/i386/cygming.h:333: error: expected ‘)’ before ‘*’ 
token
make[3]: *** [libgcc/./_muldi3.o] Fehler 1
------------

In English the error message reads: file not found.

And that is strange in the sense that according to ISO 9899:1999(7.19) stdio.h 
a part of the of a propper C compiler and therfore the compiler sources 
should come with suitable stdio.h. So where is it?

Of corse: since it is a --build=x86_64-suse-linux --host=x86_64-suse-linux 
compile using  /usr/include/stdio.h should be ok as well. Or did I miss read 
the cross compile instructions completely?

Any ideas?

Martin

PS: Just in case you wonder: MinGW's make.exe is completely broken and can't 
even do a propper "make --help" let allone compile the current gcc tree.
-- 
Martin Krischik
mailto://krischik@xxxxxxxxxxxxxxxxxxxxx

Attachment: pgp3LdBFs9cJq.pgp
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux