PATCH: Revamp CFLAGS handling [was Re: PATCH: VAX -J assembler option]

Jeffrey A Law law@cygnus.com
Tue Aug 29 15:54:00 GMT 2000


  In message < 200008231933.PAA03395@hiauly1.hia.nrc.ca >you write:
  > >   > 2000-08-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
  > >   > 
  > >   > 	* 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
  > p
  > 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.
  > 
  > Dave
  > -- 
  > J. David Anglin                                  dave.anglin@nrc.ca
  > National Research Council of Canada              (613) 990-0752 (FAX: 952-6
  > 605)
  > 
  > 2000-08-23  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
  > 
  > 	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.

Thanks,
jeff



More information about the Gcc-patches mailing list