This is the mail archive of the
mailing list for the GCC project.
Re: Automatic architecture optimization
On Thu, 2003-09-04 at 13:23, Matt Fago wrote:
> Eric Christopher wrote:
> > On Thu, 2003-09-04 at 11:32, Matt Fago wrote:
> >>Hopefully not a FAQ: I'm curious about why gcc does not support the
> >>"-march" optimization flag, without an architecture given, to
> >>automatically set the appropriate optimization flags for the processor
> >>type the compiler is running on. This would require methods to determine
> >>the processor type on all platforms that gcc runs on -- perhaps a
> >>non-trivial task.
> > Appropriate could often depend on the code you are compiling.
> Are there cases when for example -march=pentium3 would not be
> appropriate (on this processor)?
If you're building something that you wish to run on any x86 processor?
Eric Christopher <firstname.lastname@example.org>