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-05 17:38:31 -0500, Rena wrote:
> Perhaps you can do it the other way around: make a script/macro that
> saves all open files, then runs gcc.

I don't think that's possible to save them like that (and I certainly
don't want to force a save). What could be possible would be to have
a daemon that tracks the unsaved files (thanks to inotify), and the
wrapper could warn unconditionally if there is any open file (a bit
complex, but that would eliminate any false negative).

-- 
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