Re: Frame pointer register name

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

 



On 01/16/2011 02:49 PM, Amittai Aviram wrote:


Oh, I see!  The build includes both 64-bit and 32-bit modes (so that
the -m32 option will work), so I get the error when the build
process gets to that point.  What preprocessor symbol can I use in
my code to identify 64 versus 32 bit modes for conditional
compilation?  Do GCC's Makefiles set __x86_64__ and __i386__?

Have a look:

gcc hello.c -E -Wp,-dD

will show you everything that's defined.

Andrew.


[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