This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: .EXE and .OBJ depend on target, not host
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: .EXE and .OBJ depend on target, not host
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Sun, 30 Jul 2000 00:53:55 -0400
- Cc: aoliva at redhat dot com
- Reply-To: gcc-patches at gcc dot gnu dot org
On Fri, Jun 30, 2000 at 06:03:18 -0300, Alexandre Oliva wrote:
>Whether to use the .EXE extension for executables and .OBJ for object
>files is a property of the target, not of the host. With the current
>set-up, if I build a cross compiler with --target=i686-cygwin, the
>cross compiler won't build .exe files as excepted to be able to run
>them on MS-Windows. Similarly, if I build a cross tool hosted on
>Cygwin, but for some embedded target, it doesn't make sense to append
>.exe to executable names: they aren't executable for cygwin.
>
>Thus, I propose this patch, that moves all definitions of
>EXECUTABLE_SUFFIX and OBJECT_SUFFIX from host configuration files to
>target configuration files. Ok to install?
I approve the Windows' parts of this patch. This change in behavior
makes sense to me.
cgf