PATCH: Revamp CFLAGS handling [was Re: PATCH: VAX -J assembler option]
Jeffrey A Law
Tue Aug 29 15:54:00 GMT 2000
In message < 200008231933.PAA03395@hiauly1.hia.nrc.ca >you write:
> > > 2000-08-17 J. David Anglin <firstname.lastname@example.org>
> > >
> > > * vax.h (ASM_SPEC): Pass `-J' to assembler.
> > > * x-vax-gcc: New file for bootstrapping with gcc.
> > > * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
> > > * configure.in: Use x-vax-gcc with gcc.
> > > * configure: Rebuilt.
> > Thanks. Installed.
> > jeff
> Regarding the above, this is probably my fault but the new file `x-vax-gcc'
> didn't get created.
> Following a previous suggestion from Jeff, I have worked out a new approach
> to handle passing `-J' or `-Wa,-J' when needed. To do this, I had to revam
> the CFLAGS handling in Makefile.in.
> WARN_CFLAGS is now handled better and stage 1 warning flags don't make it
> to the later stages. I have also improved the passage of warning flags
> to various submakes and you may see some additional warning messages that
> weren't there before.
> I have tested it with a complete bootstrap under i686 linux, running make
> both from within and outside gcc directory. I haven't tried any crosses.
> J. David Anglin email@example.com
> National Research Council of Canada (613) 990-0752 (FAX: 952-6
> 2000-08-23 J. David Anglin <firstname.lastname@example.org>
> Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
> for compilations in stage 1 and subsequent stages, respectively.
> configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
> configure: Rebuilt.
> x-vax, x-vax-gcc: Deleted.
Alex approved this patch. I'm installing it.
More information about the Gcc-patches