This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Default gcc tuning?
- From: Ian Lance Taylor <iant at google dot com>
- To: "Zuxy Meng" <zuxy dot meng at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org, mingw-users at lists dot sourceforge dot net
- Date: 23 Apr 2007 21:43:19 -0700
- Subject: Re: Default gcc tuning?
- References: <f0ju1a$9ht$1@sea.gmane.org>
"Zuxy Meng" <zuxy.meng@gmail.com> writes:
> What will gcc do if I don't specify any -mtune? Will gcc optimize for some
> default target or not do any scheduling at all?
It will optimize for the default target. The default target is the
one for which it was configured. You can see it by running gcc -v.
Ian