This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Automatic architecture optimization
- From: Matt Fago <fago at earthlink dot net>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 04 Sep 2003 11:32:48 -0700
- Subject: Automatic architecture optimization
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