This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11515

           Summary: mingw32 fails to build gnatlib due to missing sys/wait.h
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dhazeghi at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i?86-*-mingw32

Building a cross-compiler to i386-pc-mingw32 fails when build gnatlib:

make -C gcc gnatlib_and_tools
...
make[2]: Entering directory `/home/dara/branch/objdir/gcc/ada/rts'
../../xgcc -B../../ -c -DCROSS_COMPILE -DIN_GCC   `echo -g -O2  -fexceptions 
-DIN_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'`       
-DCYGWIN_CROSS_DIR=\"/usr/local/i386-pc-mingw32//i386-pc-mingw32\" -I. -I.. -I..
/.. -I/home/dara/branch/gcc/gcc/ada -I/home/dara/branch/gcc/gcc/ada/.. 
-I/home/dara/branch/gcc/gcc/ada/../config -I/home/dara/branch/gcc/gcc/ada/../..
/include -I./../.. adaint.c
adaint.c:68:22: sys/wait.h: No such file or directory

This is true: mingw32 has no sys/wait.h. But configure should either work around 
this, or not allow gnatlib to be built on mingw32.


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