Willus.com Home   |   Archive

Willus.com's MinGW/Gnu C Tips

MinGW Tips
Overview
Starter Links
Compile Flags
Fast Math Funcs
DLLs
Globbing
Console
Binary Stdout
Predefined Macros
Show All Tips
 
  Seeing all predefined macros
Create a file test.c that has one line in it:

  int main(void) {}

Then compile with this command:

  gcc -dM -E test.c

Even easier (I got an e-mail tip on this)

  gcc -dM -E -

(Type in the above, press ENTER, then, in Unix, press CTRL-D, or from the Windows CMD line, press CTRL-Z or F6 followed by the ENTER key.)

(These work with any gcc port.)

 
MinGW Links
MinGW Home
Users Mail Archive
MinGW Bug List
Gnu C Home

Willus.com Links
Willus.com Home
Win32 Compilers
Win32 Software
Compiler Benchmark

About willus.com This page last modified
Sunday, 02-Jan-2005 15:15:51 EST
News
AOL Users