delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/07/03:44:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3DCA27E3.1040307@tin.it>
Date: Thu, 07 Nov 2002 09:44:19 +0100
From: Raffaele Nutricato <rnutric AT tin DOT it>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: problem using mv with .exe files

Dear Sirs

I am Raffaele Nutricato,I would  report the following problem with cygwin: 


I have a makefile where there are defined the following executables:

EXECUTABLES	= getorb lodr mdate convdate

as you can see this executables have names without the exestension .exe.
When I compile my source code with the gcc 2.95.3-5 the executables generated have the following
names
getorb.exe lodr.exe mdate.exe convdate.exe

The gcc automatically add the ".exe" extension.


 This causes an error when I try to install these executables by
 using the line:
 mv $(EXECUTABLES) $(BIN_DIR)
 because mv expects the name of the executables as:
 getorb lodr mdate convdate
 
 and not with the extension ".exe"



 If I change the line with the following:
 cp $(EXECUTABLES) $(BIN_DIR)
 
 the error doesn't occur.



 It seems that cp is capable to "understand" that .exe is omitted.


Best regards
Raffaele Nutricato




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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