This is the mail archive of the gcc-patches@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: [google]Pass --save-temps to the assembler (issue4436049)


On Thu, Apr 21, 2011 at 3:18 PM, Easwaran Raman <eraman@google.com> wrote:
> When using gcc with a post-assembly tool, we use a wrapper that
> invokes the tool and needs to know if the tool's output (another
> assembly file) needs to be saved. The wrapper doesn't generate any
> additional .o files and hence doesn't need to know whether the obj
> file is to be saved (which is done by the driver). Why do we need to
> pass -save-temps=obj in that case?

-save-temps=obj means place the save temps in the same directory as
the object file would be put rather than the current directory.

Thanks,
Andrew Pinski


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