-dCHARS
CHARS is a sequence of one or more of the following characters, and must not be preceded by a space. Other characters are interpreted by the compiler proper, or reserved for future versions of GCC, and so are silently ignored. If you specify characters whose behavior conflicts, the result is undefined.
M Instead of the normal output, generate a list of #define directives for all the macros defined during the execution of the preprocessor, including predefined macros. This gives you a way of finding out what is predefined in your version of the preprocessor. Assuming you have no file foo.h, the commandtouch foo.h; cpp -dM foo.h
will show all the predefined macros.
Popular Posts
-
Biomedical Engineering make extensive use of software. Signal processing algorithms and other aspects of the biomedical engineering needs ex...
-
Today I tried to compile and install the WFDB tools from the PhysioToolkit ( PhysioNet ) on my Debian Squeeze system. I am documen...
-
From the gcc man page: -dCHARS CHARS is a sequence of one or more of the following characters, and must not be preceded by a spac...
-
In 1975 Widrow et. al. introduced a scientific paper about Adaptive Noise Cancellers (ANCs). Since then, ANCs have been used extensively in...
-
You need to install the gcc-mutlilib package. Then: $ gcc -o hello -m32 hello.c the -m32 flag tells the compiler to target the 32-bit archi...
Sunday, April 13, 2008
Predefined Macros in gcc
From the gcc man page:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment