On 10/30/2017 04:30 AM, Eric Botcazou wrote:
> Hi,
> 
> these lines in gcc.c date back to 2001:
> 
> /* By default there is no special suffix for target executables.  */
> /* FIXME: when autoconf is fixed, remove the host check - dj */
> #if defined(TARGET_EXECUTABLE_SUFFIX) && defined(HOST_EXECUTABLE_SUFFIX)
> #define HAVE_TARGET_EXECUTABLE_SUFFIX
> #endif
> 
> HOST_EXECUTABLE_SUFFIX and TARGET_EXECUTABLE_SUFFIX are defined only for VMS 
> and DOS/Windows.  The effect is that ".exe" is forced on executables for 
> these 
> targets only if they are built as native and not if they are built as cross.
> 
> OK for the mainline?
> 
> 
> 2017-10-30  Eric Botcazou  <ebotca...@adacore.com>
> 
>       * gcc.c (HAVE_TARGET_EXECUTABLE_SUFFIX): Remove old kludge.
> 
OK.

Jeff

Reply via email to