From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3613 invoked by alias); 2 Feb 2012 16:27:55 -0000 Received: (qmail 3583 invoked by uid 22791); 2 Feb 2012 16:27:51 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Feb 2012 16:27:29 +0000 From: "matze at braunis dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/52096] New: -dumpmachine does not respect -m32 Date: Thu, 02 Feb 2012 16:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: matze at braunis dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-02/txt/msg00232.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52096 Bug #: 52096 Summary: -dumpmachine does not respect -m32 Classification: Unclassified Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: minor Priority: P3 Component: driver AssignedTo: unassigned@gcc.gnu.org ReportedBy: matze@braunis.de On a x86_64-linux-gnu machine calling gcc -m32 -dumpmachine gives x86_64-linux-gnu while I would have expected something like i686-linux-gnu Docu says "print the compilers target machine" in the presence of "-m32" I'm not sure that the right answer would be. The most usefull answer for me would be i686-linux-gnu, as I am using gcc -dumpmachine in my makefiles and users passing in CFLAGS="-m32" break the build.