This is the mail archive of the
mailing list for the GCC project.
Re: f/ansify.c uses ANSI features
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: f/ansify.c uses ANSI features
- From: Robert Lipe <robertlipe at usa dot net>
- Date: Thu, 5 Apr 2001 17:06:10 -0500
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <200104052009.QAA01129@hiauly1.hia.nrc.ca>
John David Anglin wrote:
> This problem was noted when I attempted to do a full build
> under vax ultrix starting with the native compiler. The file
> f/ansify.c contains a number of ANSI features (function declaration
I thought only C was to be built with native compiler and the other
languages were to be built with the freshly built gcc when you did
the 'make bootstrap'. Of course, since this isn't the default target
and few people read the doc, you're not the first to crash into this.
HOST_CC gets redefined during a bootstrap.
I could be wrong. If I'm not, we should consider adding something like
this before first line of the first file in all the non-C languages to
#if !defined (__GNU_C__)
# error You must use 'make bootstrap' to build the GNU Compiler Collection.