RE: About link to GCC predefined macro

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

 



Hi Kelvin,

>I wonder if there is a webpage where all the predefined macros(such as __x86_64__, __i386__) GCC supported are listed ?

You can generate your own list of predefined macros GCC provides, since they may vary a bit by version and by platform:

For C:
echo "" | gcc -E -dM -x c - | sort

For C++:
echo "" | g++ -E -dM -x c++ - | sort

HTH,
--Eljay



[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