This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Output filename currently being compiled
> 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