Re: Can I find what #defines's the pre-processor makes?

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

 



Andrew Haley wrote:
gcc -save-temps -Wp,-dD

Look in the .i file
On unix like machines,

echo | cpp -dD

generates the list on stdout (i.e. to your console, or xterm or whatever) without having to have any files involved.

Patrick




[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