Re: getting the list of input files of a gcc command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 5 Dec 2018 at 16:44, Vincent Lefevre <vincent+gcc@xxxxxxxxxx> wrote:
>
> I would like to write a gcc wrapper and get the list of input files
> of the gcc command line before executing gcc. As a heuristic, I could
> get all the arguments with some extension like .c and .h, but is
> there a more reliable way?

Look for any argument that doesn't start with '-' or '@' ?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux