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

Re: f/ansify.c uses ANSI features


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
be built.

#if !defined (__GNU_C__)
#  error You must use 'make bootstrap' to build the GNU Compiler Collection.
#endif


RJL


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