On 29 October 2012 10:19, Jonathan Wakely wrote:
> On 29 October 2012 09:25, Mike  Dupont wrote:
>> Well in this case, what about a random temp file name? tmpfile ?
>> something with the timestamp as well.
>> I would like to have those files if possible. would that be acceptable?
>
> Why not just write the source to the temp file then invoke GCC on it?
>
> Why add that into GCC itself when it's trivial to do externally?

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.

Reply via email to