This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: output format of gcc -E?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Dan Kegel <dank at kegel dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 13 Nov 2003 09:16:25 +0100
- Subject: Re: output format of gcc -E?
- References: <3FB357F6.5070005@kegel.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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