Search code examples
cgccfile-descriptor

What does gcc -E mean?


I came across this option of -E while navigating and searching for where the file descriptors of stdio.h is stored in the machine? But I am not sure what exactly this command gcc -E do? Can it be used to view the file descriptor of the stdio.h fie stored in /usr/include/ directory?


Solution

  • It tells GCC to stop after the preprocessing stage. Details in the link.

    https://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html#Overall-Options