This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where to find documentation on pre-defined macros


Lee Rhodes wrote:
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?

gcc -E -dD - < /dev/null


--
Matthew
Microsoft: Expect the unexpected


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]