Output filename currently being compiled

Paul Brook paul@codesourcery.com
Mon Aug 9 15:21:00 GMT 2004


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