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]

[1.7] .exe append weirdness


Hi,

I'm using a win64 target cross compiler under Cygwin. I noticed all the stripped dlls will eventually end with ".exe".

I am on 32bit Windows XP sp3, Cygwin 1.7.0-64. (Upgrading to -65 causes "system shared memory version mismatch detected" for all Cygwin apps, its another issue altogether.

This does not happen to native win32 dlls produced with -m32 or with Cygwin dlls.

Here's an example session:

user@user ~
$ echo "int f(void){return 5;}"|x86_64-w64-mingw32-gcc -xc - -shared -o 1.dll

user@user ~
$ ls
1.dll*

user@user ~
$ x86_64-w64-mingw32-strip -vs 1.dll
copy from `1.dll' [pei-x86-64] to `stEvbXqW' [pei-x86-64]

user@user ~
$ ls
1.dll.exe*


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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