This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/52096] New: -dumpmachine does not respect -m32


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]