Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Wed, 22 Dec 2004 13:21:35 -0800 (PST) From: "Jeremy C. Reed" To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] New package: coreutils-5.2.1-2 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/