X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
Subject: Re: [1.7] make install installs executables without .exe extension
References: <7zpriph31b.fsf@vzell-de.de.oracle.com> <496EAFE3.2040707@byu.net>
From: "Dr. Volker Zell" <dr.volker.zell@oracle.com>
In-Reply-To: <496EAFE3.2040707@byu.net> (Eric Blake's message of "Wed, 	14 Jan 2009 20:39:15 -0700")
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (cygwin32)
Date: Mon, 19 Jan 2009 16:47:52 +0100
Message-ID: <7zsknf2t7b.fsf@vzell-de.de.oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Note-from-DJ: This may be spam

>>>>> Eric Blake writes:

    > According to Dr. Volker Zell on 1/14/2009 4:38 PM:
    >> Hi
    >> 
    >> I'm about to recompile my packages under cygwin 1.7 and just noticed
    >> that although the compiler creates executables with .exe extensions the
    >> extension is somehow stripped after make install step.
    >> 
    >> Any hints ?

    > Might be something wrong with my .exe magic patch in coreutils.  I'll look
    > into it.

Under cygwin 1.5

when filename.exe exists

/usr/bin/install filename /tmp            creates /tmp/filename.exe
/usr/bin/cp      filename /tmp            creates /tmp/filename.exe
/usr/bin/install filename /tmp/filename   creates /tmp/filename.exe
/usr/bin/cp      filename /tmp/filename   creates /tmp/filename.exe

Under cygwin 1.7

when filename.exe exists

/usr/bin/install filename /tmp            creates /tmp/filename
/usr/bin/cp      filename /tmp            creates /tmp/filename
/usr/bin/install filename /tmp/filename   creates /tmp/filename
/usr/bin/cp      filename /tmp/filename   creates /tmp/filename

Is this the expected behaviour ?

Ciao
  Volker

--
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/

