This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Issues with building gcc trunk with ada on cygwin


I have an issue with building gcc trunk, current and since quite a while.

There seems to me to be quite some missing includes while building
stage 3 compared with stage 2.

For example, the adadecode.c comile in stage 2 for me looks like this:

make[5]: Entering directory
`/usr/local/src/trunk/objdir.withada-java/gcc/ada/rts'
/usr/local/src/trunk/objdir.withada-java/./gcc/xgcc
-B/usr/local/src/trunk/objdir.withada-java/./gcc/
-B/usr/i686-pc-cygwin/bin/ -B/usr/i686-pc-cygwin/lib/ -isystem
/usr/i686-pc-cygwin/include -isystem /usr/i686-pc-cygwin/sys-include
 -c -DIN_GCC  -W -Wall -g -O2  -fexceptions -DIN_RTS -DHAVE_GETIPINFO
  \
	  -iquote . -iquote .. -iquote ../.. -iquote
/usr/local/src/trunk/gcc/gcc/ada
-I/usr/local/src/trunk/gcc/gcc/../include -I./../.. adadecode.c -o
adadecode.o
In file included from adadecode.c:34:0:
../../tconfig.h:9:36: fatal error: config/i386/xm-cygwin.h: No such
file or directory
compilation terminated.
make[5]: *** [adadecode.o] Error 1
make[5]: Leaving directory
`/usr/local/src/trunk/objdir.withada-java/gcc/ada/rts'
make[4]: *** [gnatlib] Error 2
make[4]: Leaving directory `/usr/local/src/trunk/objdir.withada-java/gcc/ada'
make[3]: *** [gnatlib-shared] Error 2
make[3]: Leaving directory `/usr/local/src/trunk/objdir.withada-java/gcc/ada'
make[2]: *** [gnatlib-shared] Error 2
make[2]: Leaving directory
`/usr/local/src/trunk/objdir.withada-java/i686-pc-cygwin/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/usr/local/src/trunk/objdir.withada-java'
make: *** [all] Error 2

while the stage1 compile looks liike this:

/usr/local/src/trunk/objdir.withada-java/./prev-gcc/g++
-B/usr/local/src/trunk/objdir.withada-java/./prev-gcc/
-B/usr/i686-pc-cygwin/bin/ -nostdinc++
-B/usr/local/src/trunk/objdir.withada-java/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
-B/usr/local/src/trunk/objdir.withada-java/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
-I/usr/local/src/trunk/objdir.withada-java/prev-i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/usr/local/src/trunk/objdir.withada-java/prev-i686-pc-cygwin/libstdc++-v3/include
-I/usr/local/src/trunk/gcc/libstdc++-v3/libsupc++
-L/usr/local/src/trunk/objdir.withada-java/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
-L/usr/local/src/trunk/objdir.withada-java/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual  -Wmissing-format-attribute
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -I. -Iada
-I/usr/local/src/trunk/objdir.withada-java/../gcc/gcc
-I/usr/local/src/trunk/objdir.withada-java/../gcc/gcc/ada
-I/usr/local/src/trunk/objdir.withada-java/../gcc/gcc/../include
-I/usr/local/src/trunk/objdir.withada-java/../gcc/gcc/../libcpp/include
-I/usr/include -I/usr/include
-I/usr/local/src/trunk/objdir.withada-java/../gcc/gcc/../libdecnumber
-I/usr/local/src/trunk/objdir.withada-java/../gcc/gcc/../libdecnumber/bid
-I../libdecnumber
/usr/local/src/trunk/objdir.withada-java/../gcc/gcc/ada/adadecode.c -o
ada/adadecode.o

the compile error I get in stage 2 is resolved adding
-I/usr/local/src/trunk/gcc/gcc/ as include, there, and only there, is
the missing include file config/i386/xm-cygwin.h...

Now, are there anyones here that recognise the issue and perhaps have
an idea of how to address it?

-- 
Cheers,

/ChJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]