public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Marcin Mirosław" <marcin@mejor.pl>
To: gcc-help@gcc.gnu.org
Subject: Re: defaults for -march and -mtune
Date: Fri, 25 Nov 2011 08:59:00 -0000	[thread overview]
Message-ID: <4ECE5E52.4080207@mejor.pl> (raw)
In-Reply-To: <CANd1uZ=ZWKDqL6_T0aVU0mmjwTHs6U1qRkwK-nNUi15LXkMiQw@mail.gmail.com>

W dniu 24.11.2011 13:50, Jay Foad pisze:
> Marcin MirosÃ…aw wrote:
>> Try: gcc -Q --help=target 2>&1|grep  "march\|mtune"
>
> Thanks! It's a shame it doesn't work on GCC 4.1.2 as well...

If you want to know what is default target for older gcc you can do such 
trick:
$ touch a.c
$ gcc -fverbose-asm -S a.c -o - |grep "march\|mtune"
(founded on gcc mailinglist)
Regards

  reply	other threads:[~2011-11-24 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 14:49 Jay Foad
2011-11-25  8:59 ` Marcin Mirosław [this message]
2011-11-25  9:09   ` Ryan Hill
  -- strict thread matches above, loose matches on Subject: below --
2011-11-24 12:50 Jay Foad
2011-11-24 12:57 ` Marcin Mirosław

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECE5E52.4080207@mejor.pl \
    --to=marcin@mejor.pl \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).