Re: Interplay of options -m32 and -march on x86_64 host

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

 



Erik Leunissen <e.leunissen@xxxxxxxxx> writes:

> 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.

Yes, you can.

Ian

[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