protoize and unprotoize building with gcc-3.4-20040325
Rekha Deshmukh
RekhaD@KPITCummins.com
Wed Apr 21 13:40:00 GMT 2004
Hi Ian,
Thanks for the reply.
Yes, bconfig.h does includes the auto-build.h file and auto-build.h has HAVE_SYS_WAIT_H defined.
Regards,
Rekha.
-----Original Message-----
From: Ian Lance Taylor [mailto:ian@wasabisystems.com]
Sent: Tuesday, April 20, 2004 8:55 PM
To: Rekha Deshmukh
Cc: gcc@gcc.gnu.org
Subject: Re: protoize and unprotoize building with gcc-3.4-20040325
"Rekha Deshmukh" <RekhaD@KPITCummins.com> writes:
> I am trying to build the h8300-elf protoize and unprotoize mingw utilities for gcc-3.4-20040325, with Linux server as my build machine.
> But, when I run 'make proto' in the gcc directory, I get the following error -
>
> HEADERS="config/h8300/h8300.h config/dbxelf.h config/elfos.h config/h8300/elf.h defaults.h" DEFINES="" \
> /bin/sh /home/nitins2/src/gcc-3.4-20040325/gcc/mkconfig.sh tm.h
> tm.h is unchanged
> TARGET_CPU_DEFAULT="" \
> HEADERS="auto-build.h ansidecl.h" DEFINES="" \
> /bin/sh /home/nitins2/src/gcc-3.4-20040325/gcc/mkconfig.sh bconfig.h
> bconfig.h is unchanged
> i386-pc-mingw32msvc-gcc -c -DIN_GCC -DCROSS_COMPILE -DGENERATOR_FILE -I. -I. -I/home/nitins2/src/gcc-3.4-20040325/gcc -I/home/nitins2/src/gcc-3.4-20040325/gcc/. -I/home/nitins2/src/gcc-3.4-20040325/gcc/../include -I../intl /home/nitins2/src/gcc-3.4-20040325/gcc/genmodes.c -o genmodes.o
> In file included from /home/nitins2/src/gcc-3.4-20040325/gcc/genmodes.c:23:
> /home/nitins2/src/gcc-3.4-20040325/gcc/system.h:252:22: sys/wait.h: No such file or directory
> make: *** [genmodes.o] Error 1
>
> My mingw native compiler (host&build: Linux) is built using gcc-3.3 sources.
>
> I am unable to understand how 'make proto' has gone for 'genmodes' building.
> Please guide me on this.
I think there is some kind of build/host confusion going on here.
HAVE_SYS_WAIT_H should not be defined for the mingw build system.
Does bconfig.h include auto-build.h? Do you see HAVE_SYS_WAIT_H
defined in auto-build.h?
Ian
More information about the Gcc
mailing list