This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

coreutils: install transparent_exe issues?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]