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 Message-ID: <3DCA27E3.1040307@tin.it> Date: Thu, 07 Nov 2002 09:44:19 +0100 From: Raffaele Nutricato 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/