delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/22/16:21:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 22 Dec 2004 13:21:35 -0800 (PST)
From: "Jeremy C. Reed" <reed AT reedmedia DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] New package: coreutils-5.2.1-2
In-Reply-To: <Pine.LNX.4.43.0412221307570.21256-100000@pilchuck.reedmedia.net>
Message-ID: <Pine.LNX.4.43.0412221320420.21256-100000@pilchuck.reedmedia.net>
MIME-Version: 1.0
X-IsSubscribed: yes

On Wed, 22 Dec 2004, Jeremy C. Reed wrote:

> On Tue, 21 Dec 2004, Corinna Vinschen wrote:
>
> > - cp(1), install(1), ln(1) and mv(1) contain patches to deal with .exe
> >   suffixes more or less transparently.
>
> How does the cygwin project choose which tools are patched for dealing
> with .exe and what is not?
>
> Thank you for fixing cp.
>
> My next problem is "strip".
>
> strip filename doesn't work if filename really is called filename.exe
>
> $ strip /home/jreed/pkg/bin/#inst.1924#
> strip: /home/jreed/pkg/bin/#inst.1924#: No such file or directory
>
> $ ls -li /home/jreed/pkg/bin/#inst.1924# /home/jreed/pkg/bin/#inst.1924#.exe
> 70650219154389122 -rwxrwxrwx  1 jreed Users 158621 Dec 22 15:02
> /home/jreed/pkg/bin/#inst.1924#
> 70650219154389122 -rwxrwxrwx  1 jreed Users 158621 Dec 22 15:02
> /home/jreed/pkg/bin/#inst.1924#.exe

And mv is wrong too:

$ mv /home/jreed/pkg/bin/#inst.1316# /home/jreed/pkg/bin/bmake
mv: cannot move `/home/jreed/pkg/bin/#inst.1316#' to
`/home/jreed/pkg/bin/bmake': No such file or directory

$ ls -l /home/jreed/pkg/bin/#inst.1316#
-r-xr-xr-x  1 jreed Users 158621 Dec 22 15:18 /home/jreed/pkg/bin/#inst.1316#

It does work if I mv with the filename with the .exe extension.

> Instead of attempting to fix every command with this problem, I'd prefer
> to not have the .exe extension in the first place.
>
> How do I disable this not-needed feature in gcc?
>
> (I will not use old Windows that needs it.)


 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/


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

- Raw text -


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