This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: EXECUTABLE_SUFFIX in xm-cygwin32.h
- To: mrs at wrs dot com (Mike Stump)
- Subject: Re: EXECUTABLE_SUFFIX in xm-cygwin32.h
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Thu, 5 Nov 1998 10:54:16 +0000 (GMT)
- Cc: egcs at cygnus dot com
> Ok, I can't figure it out... How is EXECUTABLE_SUFFIX supposed to
> work on a cygwin32 hosted cross compiler? It is defined in the
> xm-cygwin32.h file, but it is used for output filenames of the
> compiler (see gcc.c: convert_filename). This is only valid if the
> _target_ is cygwin (or nt or windows), not if the host is cygwin. It
> seems there are two concepts, one is if the target needs it, the other
> is if the host needs it for programs like cc1plus.
>
> Two concepts, two macros. We don't seem to have two, do we?
>
> I was testing with 1.0.2 style compilers, but the code looks the same
> in cvs now. Maybe I just missed something that makes it work?
I think Richard Kenner added the stuff that appends the suffix to generated
executables (at least when you specify a -o without the suffix).
I'm not sure if he reads the egcs mailing list these days.