X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-9.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4BA11F6C.1000202@redhat.com> Date: Wed, 17 Mar 2010 12:29:00 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, Kenneth DOT Nellis AT acs-inc DOT com Subject: Re: EXEEXT References: <2BF01EB27B56CC478AD6E5A0A28931F2C1E9BE AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F2C1E9BE@A1DAL1SWPES19MB.ams.acs-inc.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7E6F46EA7B0506B67C60D447" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig7E6F46EA7B0506B67C60D447 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/17/2010 12:02 PM, Nellis, Kenneth wrote: > For Cygwin, I've been defining: >=20 > EXEEXT :=3D .exe >=20 > Then, to keep my Makefiles portable: >=20 > clean : > $(RM) $(MAIN)$(EXEEXT) >=20 > It appears that we don't have do this EXEEXT dance > anymore, however I've not seen any official word on > this. Is there official word? Do you want to be portable to the cross-compilation environment of compiling for mingw on Linux, and using wine to run the results? Then keep it. While cygwin 1.7 has certainly gotten smarter about implicit .exe handling, there are other environments where .exe is still explicitly required, so properly using $(EXEEXT) in makefiles (autoconf provides a correct setting of this variable, rather than hard-coding it) can only serve to make your makefiles portable to more systems. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig7E6F46EA7B0506B67C60D447 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkuhH2wACgkQ84KuGfSFAYCZegCfcpDeX8gebw0XTnYSkPz10uZQ Bx4An18euuVDL2sDjeOk01el325usqp/ =jY7I -----END PGP SIGNATURE----- --------------enig7E6F46EA7B0506B67C60D447--