Automatic architecture optimization

Matt Fago fago@earthlink.net
Thu Sep 4 20:10:00 GMT 2003


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.

Thanks,
  - Matt





More information about the Gcc mailing list