This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4.1 and CPU optimization
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Zbigniew Åuszpi Åski <zbiggy at o2 dot pl>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: 01 Dec 2004 10:06:05 -0500
- Subject: Re: gcc 3.4.1 and CPU optimization
- References: <200411302222.00566.zbiggy@o2.pl><87sm6qzdjw.fsf@amaterasu.srvr.nix> <200412011142.54596.zbiggy@o2.pl>
Zbigniew ÅuszpiÅski <zbiggy@o2.pl> writes:
> I have idea how to solve this problem. We can not fix all the scripts on this
> planet. So gcc should be fixed. I think that future version of gcc should
> have a new configuration file. For example gcc.permanent.conf. In this file
> an user could setup and configure all the user's default settings which
> should be used instead of those from command line (which are created by
> script or user). Options in such file have the highest priority and
> overwrites these one provided via command line. Such file could clean up
> parameters chaos made by scripts and users.
Current versions of gcc already support options to the configure
script which can do this: --with-cpu, --with-arch, --with-tune. This
set the defaults for a particular configuration of gcc. These are
documented here:
http://gcc.gnu.org/install/configure.html
Ian