public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/52096] New: -dumpmachine does not respect -m32
@ 2012-02-02 16:27 matze at braunis dot de
2012-02-02 16:30 ` [Bug driver/52096] " pinskia at gcc dot gnu.org
2012-02-02 16:31 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: matze at braunis dot de @ 2012-02-02 16:27 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug driver/52096] -dumpmachine does not respect -m32
2012-02-02 16:27 [Bug driver/52096] New: -dumpmachine does not respect -m32 matze at braunis dot de
@ 2012-02-02 16:30 ` pinskia at gcc dot gnu.org
2012-02-02 16:31 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-02 16:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52096
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 16:30:16 UTC ---
No, dumpmachine should dump the target which gcc was built. It should not be
made multilib aware.
If you want to make sure you are compiling for 32bit, then check the
preprocessed predefines instead.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug driver/52096] -dumpmachine does not respect -m32
2012-02-02 16:27 [Bug driver/52096] New: -dumpmachine does not respect -m32 matze at braunis dot de
2012-02-02 16:30 ` [Bug driver/52096] " pinskia at gcc dot gnu.org
@ 2012-02-02 16:31 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-02 16:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52096
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 16:30:59 UTC ---
Also the dumpmachine does not work for things like x32 where just the ABI
changes.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-02 16:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-02 16:27 [Bug driver/52096] New: -dumpmachine does not respect -m32 matze at braunis dot de
2012-02-02 16:30 ` [Bug driver/52096] " pinskia at gcc dot gnu.org
2012-02-02 16:31 ` pinskia at gcc dot gnu.org
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).