This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Where to find documentation on pre-defined macros
- From: "Lee Rhodes" <lee at rhoba dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 25 Jul 2007 13:55:38 -0700
- Subject: Where to find documentation on pre-defined macros
Apparently, GCC predefines some macro variables such as __LITTLE_ENDIAN__
and __BIG_ENDIAN__ based on the current underlying architecture, however, I
only deduce this from studying code that depends on them. I cannot seem to
find any mention of these macros in the "Using the GNU Compiler Collection"
(4.2.0); no mention in Bjarne's "C++ Programming Language, 3rd ed."; no
mention in Josuttis's "C++ Standard Library". So where is the
list/documentation of all predefined macros the GCC provides?
Thanks in advance,
Lee.