Interplay of options -m32 and -march on x86_64 host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I'm compiling for a 32bit linux-x86 target on a linux-x86_64 host.

     using: - the distribution supplied gcc (4.3.1)
            - openSuSE linux 11.0

In this configuration, gcc supports the option -m32 to do that.

What I could not figure out is whether I can compile for a specific x86
architecture, say i686, using the option -march=i686 in coombination
with -m32.

Thanks in advance for any clarification,

Erik Leunissen

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux