This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: gcc produces foo.exe, not foo
- To: Arne Glenstrup <panic at diku dot dk>
- Subject: Re: gcc produces foo.exe, not foo
- From: Ben Elliston <bje at cygnus dot com>
- Date: Thu, 24 Sep 1998 00:15:45 +1000 (EST)
- cc: gnu-win32 at cygnus dot com
> What is the standard way of circumventing this problem? Simply writing
> mv foo.exe bar.exe
> is not a full solution, because that is not portable. Is it necessary to
> write some autoconf stuff to check what the extension of the executable
> resulting from calling gcc is?
Yes, that's right. The next version of autoconf will have a new macro
called `AC_EXEEXT' which will probe your system and make a subsitution
variable available for your Makefile.in called @EXEEXT@. It typically has
the value "" or ".exe".
Ben
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".