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]

Re: .EXE and .OBJ depend on target, not host


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

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