delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/09/15:49:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 9 Jun 2010 15:49:05 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 'cp' utility bug when <dest-name>.exe file exist.
Message-ID: <20100609194905.GA4064@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1276042636 DOT 1651 DOT 9 DOT camel AT erebor> <AANLkTil6fa2-stL9f3hd-Dg-X6FjzVKLeG56lPoI7OYp AT mail DOT gmail DOT com> <20100609044034 DOT GB9305 AT ednor DOT casa DOT cgf DOT cx> <AANLkTikJ9U3U49HlT9Ldm6aueX3z22gN_6L95P-E2Pwz AT mail DOT gmail DOT com> <AANLkTinrgelZ5PcMhWjzehe8sa-cjkGoiFI8WpLGNh84 AT mail DOT gmail DOT com> <AANLkTimh8Kzu14RAhlzYl6FBl6nOdXNY2JMIug7b_v-X AT mail DOT gmail DOT com> <4C0F9535 DOT 7010902 AT redhat DOT com> <AANLkTinO8GJY9d9SIy-unGW1yrPqGjvNmo5oj5-t2zsC AT mail DOT gmail DOT com> <20100609154734 DOT GA18851 AT ednor DOT casa DOT cgf DOT cx> <AANLkTilC07LTlo9kMfDzbguKhZB1-aeARIzsQ8Ca3fDO AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <AANLkTilC07LTlo9kMfDzbguKhZB1-aeARIzsQ8Ca3fDO@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Jun 09, 2010 at 05:28:16PM +0100, Julio Costa wrote:
>On Wed, Jun 9, 2010 at 16:47, Christopher Faylor wrote:
>> On Wed, Jun 09, 2010 at 03:02:16PM +0100, Julio Costa wrote:
>>>On Wed, Jun 9, 2010 at 14:20, Eric Blake wrote:
>>>>
>>>> Have you ever encountered a makefile that doesn't consistently use
>>>> $(EXEEXT) everywhere? ??Too many people just expect 'gcc -o foo ...' to
>>>> produce foo, then 'strip foo' to work, without realizing that on cygwin,
>>>> gcc created 'foo.exe' and strip _has_ to have .exe magic.
>>>
>>>That's just one of the several scenarios which would greatly benefit
>>>from a removal of .exe magic.
>>
>> Uh, no. ??That would BREAK makefiles.
>>
>
>Huh? I'm getting dense. My reading was:
>
>if gcc (or cygwin with his magic) did't apply the .exe extension, then
>    {strip,cp,mv,install,etc...} wouldn't need the .exe magic
>    period.
>else
>    strip&company _do_ need the .exe magic
>    # ...and possibily because of that, some Makefiles were needlessly
>modified to do his own magic
>end if
>
>So, what would break?

Any makefile which didn't use the absolute latest version of gcc which
has this critically important change to remove .exe.

For the record, unless Corinna thinks it's a good idea (which I doubt):
we're not going to change Cygwin to drop all of the .exe extensions from
every single file in the distribution and I'd be violently opposed to
the notion of changing gcc's default behavior after all of these years.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019