This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: output format of gcc -E?


On Thu, Nov 13, 2003 at 02:07:50AM -0800, Dan Kegel wrote:
> OK, I found it once before, but it eludes me now.  Where is
> the output format of gcc -E defined?  In particular, what do
> the numbers on the lines mean?  e.g. in the output
> # 1 
> "/opt/cegl-2.0/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/powerpc-405-linux-gnu/sys-include/linux/kernel.h" 1 3 4
> # 28 
> "/opt/cegl-2.0/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/powerpc-405-linux-gnu/sys-include/linux/sysctl.h" 2 3 4
> what do the trailing "1 3 4" and "2 3 4" mean?
> I'm trying to track down a problem compiling something with
> a newer compiler, and I really need to be able to follow how
> the preprocessor is working.

1 is entering a file, 2 is leaving a file, 3 means -isystem header,
4 means implicit extern "C" around the header.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]