This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h
- From: "dhazeghi at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2003 00:44:56 -0000
- Subject: [Bug bootstrap/11515] New: mingw32 fails to build gnatlib due to missing sys/wait.h
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.