This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on 2003-03-15T13:30:01Z.
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: neil at daikokuya dot co dot uk (Neil Booth)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 16 Mar 2003 16:14:37 -0500 (EST)
- Subject: Re: GCC build failed for native with your patch on 2003-03-15T13:30:01Z.
> Indeed; I'm missing an xstrdup. The include switches that are being
> passed on your system were ignored until yesterday, maybe we can skip
> them?
I'm not sure that I understand the question. We don't pass anything
special in terms of include directories to fixproto. We do define
_HPUX_SOURCE and _HIUX_SOURCE. Here is a build log from a 3.3:
if [ -f include/fixed ] ; then true; \
else \
: This line works around a 'make' bug in BSDI 1.1.; \
FIXPROTO_DEFINES="-D_HPUX_SOURCE -D_HIUX_SOURCE"; export FIXPROTO_DEFINES; \
mkinstalldirs="/bin/sh ../../gcc/gcc/mkinstalldirs"; \
export mkinstalldirs; \
if [ -d /usr/include ] ; then \
/bin/sh ../../gcc/gcc/fixproto include include /usr/include; \
if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
else true; fi; \
echo timestamp > include/fixed; \
fi
fixproto: populating `include'
...
Dave
--
J. David Anglin dave dot anglin at nrc-cnrc dot gc dot ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)