This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] No executable suffix when -E is used.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Pascal Obry <obry at adacore dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 10 Oct 2009 17:25:18 +0000 (UTC)
- Subject: Re: [PATCH] No executable suffix when -E is used.
- References: <4AD0A307.9080901@adacore.com>
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