From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17774 invoked by alias); 24 Nov 2011 10:37:44 -0000 Received: (qmail 17615 invoked by uid 22791); 24 Nov 2011 10:37:43 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-yw0-f47.google.com (HELO mail-yw0-f47.google.com) (209.85.213.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Nov 2011 10:37:29 +0000 Received: by ywb20 with SMTP id 20so2487581ywb.20 for ; Thu, 24 Nov 2011 02:37:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.170.105 with SMTP id al9mr32220999igc.28.1322131048319; Thu, 24 Nov 2011 02:37:28 -0800 (PST) Received: by 10.50.140.65 with HTTP; Thu, 24 Nov 2011 02:37:28 -0800 (PST) Date: Thu, 24 Nov 2011 12:50:00 -0000 Message-ID: Subject: defaults for -march and -mtune From: Jay Foad To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00246.txt.bz2 If I don't specify any -march= or -mtune= options, what are the default architectures to generate code for and to tune for? Can I get the compiler to tell me this information? The documentation here doesn't seem to say anything about it: http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html I'm using "gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1" targetting x86_64. Thanks, Jay.