Output filename currently being compiled

Nick NoSpam nicknospam@optonline.net
Mon Aug 9 15:46:00 GMT 2004


> Try -v or -Q.
-v spits out too much info (versions, configure line, etc).
And -Q, while very interesting, spits out info regarding functions.

I'd like just the file name.

Regards,
Nick G.

On Mon, 2004-08-09 at 11:14, Paul Brook wrote:
> On Monday 09 August 2004 16:07, Nick NoSpam wrote:
> > Hi,
> >
> > Is there a flag to gcc which will cause the name of the file currently
> > being compiled to be output.
> > If I have three files (a.c, b.c, c.c) and compile them w/:
> >   gcc a.c b.c c.c
> >
> > it compiles them and returns when complete.  Can gcc output the file as
> > it's being compiled (for status)?
> 
> Try -v or -Q.
> 
> Paul



More information about the Gcc mailing list