This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
EXECUTABLE_SUFFIX in xm-cygwin32.h
- To: egcs at cygnus dot com
- Subject: EXECUTABLE_SUFFIX in xm-cygwin32.h
- From: mrs at wrs dot com (Mike Stump)
- Date: Wed, 21 Oct 1998 14:42:38 -0700
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?