delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/29/23:33:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49D04B74.9090000@users.sourceforge.net>
Date: Sun, 29 Mar 2009 23:32:52 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: coreutils: install transparent_exe issues?
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Eric,

With cygwin-1.7.0-44 and coreutils-7.0-2, install(1) no longer appends
'.exe' to the destination filename.  STC:

### in a clean directory
$ echo -e '#include <stdio.h>\nint main(void) { printf("Hello
World!\\n"); }' > hello.c

$ echo 'all: hello' > Makefile

$ make
cc     hello.c   -o hello

$ mkdir -p d1

$ install hello d1

$ find . -type f
./d1/hello
./hello.c
./hello.exe
./Makefile

This breaks non-autotoolized makefiles which don't account for EXEEXT.
Interestingly, though, strip(1) will still add an .exe:

$ strip d1/hello

$ find d1 -type f
d1/hello.exe


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAknQS3QACgkQpiWmPGlmQSMUVQCg3N5qzROqg2ltZgqqfbKvC4Fo
2UsAoNL2Yn4uVzN4NmAM3LRnIlHCanUJ
=P7TQ
-----END PGP SIGNATURE-----

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