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: [PATCH] No executable suffix when -E is used.


On Sat, 10 Oct 2009, Pascal Obry wrote:

> When -E is used we do not want an executable suffix to be added to the
> specified output file with -o. This is already done for -c and -S, this patch
> adds the same circuitry for -E.
> 
> 
>    * gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Add -E
>      (process_command): Handle -E as done with -c and -S.
>      Do not add the target executable suffix to the
>      output file when -E is used.
>      (main): Adjust error message accordingly.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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