[1.7] .exe append weirdness

JonY jon_y@users.sourceforge.net
Sat Nov 21 03:21:00 GMT 2009


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



More information about the Cygwin mailing list