Apr 29, 2012

[gcc][g++][NOTE] Tips

To print out pre defines:
# gcc -c -E -dM - < /dev/null file.c
or
# gcc -c -E -dM file.c #file.c is pseudo file

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.