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 2018-12-06 12:58:35 +0100, Florian Weimer wrote:
> * Vincent Lefevre:
> 
> > The goal is to get a warning if I try to execute gcc while some input
> > file has not been saved in Emacs (Emacs provides the way to do this,
> > e.g. by creating a symbolic link .#tst.c when tst.c has not been
> > saved).
> 
> The makefile dependency generation options provide this information.

Good idea. This is even better. However, the parsing of the
command line would be more difficult, and in particular, it
may be difficult to decide what to do when such options are
already used (for a different purpose).

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



[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