public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30691]  New: i386 and x86-64 build options m32 and m64
@ 2007-02-03 13:12 beethoven3322 at hotmail dot com
  2007-02-03 20:17 ` [Bug target/30691] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: beethoven3322 at hotmail dot com @ 2007-02-03 13:12 UTC (permalink / raw)
  To: gcc-bugs

Under "Intel 386 and AMD x86-64 Options" are listed several different
parameters one can give to -march, such as i386,i486,pentium,prescott,etc. For
AMD64 users the special options -m32 and -m64 specify whether to build for 32
or 64 bit environments. Aren't both these options redundant? If you're building
on an amd64 then the default target architecture ought to be 64-bit, and if you
specify -march=i386 then presumably you want 32-bit code...


-- 
           Summary: i386 and x86-64 build options m32 and m64
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: beethoven3322 at hotmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30691


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/30691] i386 and x86-64 build options m32 and m64
  2007-02-03 13:12 [Bug c/30691] New: i386 and x86-64 build options m32 and m64 beethoven3322 at hotmail dot com
@ 2007-02-03 20:17 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-03 20:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-02-03 20:16 -------
No, they are not redudent.
Because you can do -m32 -march=k8 which means use the k8's 32bit features.
-m64 -march=i386 will be rejected as i386 does not have 64bit.
Also you can have a compile which defaults to 32bits and compile 64bits.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |target
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30691


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-03 20:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-03 13:12 [Bug c/30691] New: i386 and x86-64 build options m32 and m64 beethoven3322 at hotmail dot com
2007-02-03 20:17 ` [Bug target/30691] " pinskia at gcc dot gnu dot 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).