This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug report : -save-temps and stdin


On Mon, Oct 29, 2012 at 11:20 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> Creating the temp file yourself has the advantage you know what the
> name is, whereas if GCC creates it you need to look for new files or
> check timestamps to find what name it used.

so we can have three options that I would suggest :

1. no parameters passed fails when there is no filename. (is good
default behaviour)
2. filename specfied, it is used. (is good for makefile authors)
3. random filename specfied, it will be used, (is good for cflags)


-- 
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]