This is the mail archive of the 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]
Other format: [Raw text]

Re: Updated --with-cpu patch, v12, part 3/3

On Mon, May 19, 2003 at 06:33:05PM -0400, Daniel Jacobowitz wrote:
> On Mon, May 12, 2003 at 06:57:27PM -0400, Daniel Jacobowitz wrote:
> > This is an update to the --with-cpu patch I posted some months ago.  It's
> > evolved and simplified quite a lot, and I think the result is much nicer
> > than any previous version.
> And the last part.  I don't have anything to say about it that I
> haven't already said.  The config.gcc changes are still hairy, but much
> more readable, in this version.
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
> 2003-05-19  Daniel Jacobowitz  <>
> 	* config.gcc: Reorganize --with-cpu logic.  Set
> 	configure_default_options according to the default CPU, --with-cpu,
> 	--with-arch, --with-tune, --with-schedule, --with-abi, and
> 	--with-float.  Check for legal values of various options.
> 	* Define configure_default_options in configargs.h.
> 	* configure: Regenerated.

> 	* config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
> 	(TARGET_DEFAULT_FLOAT_P): New macros.

Oops, left over changelog entry.  Sorry 'bout that.

> 	* gcc.c (do_option_spec): New function.
> 	(struct default_spec, option_default_specs): New.
> 	(main): Call do_option_spec.
> 	* config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
> 	config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
> 	config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
> 	* doc/install.texi: Update --with-cpu documentation.  Mention
> 	--with-arch, --with-schedule, --with-tune, --with-abi, and
> 	--with-float.
> 	* doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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