This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/52096] New: -dumpmachine does not respect -m32
- From: "matze at braunis dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 16:27:25 +0000
- Subject: [Bug driver/52096] New: -dumpmachine does not respect -m32
- Auto-submitted: auto-generated
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.