X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B075486.20400@users.sourceforge.net> Date: Sat, 21 Nov 2009 10:46:30 +0800 From: JonY User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: [1.7] .exe append weirdness Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT user ~ > $ echo "int f(void){return 5;}"|x86_64-w64-mingw32-gcc -xc - -shared -o 1.dll > > user AT user ~ > $ ls > 1.dll* > > user AT user ~ > $ x86_64-w64-mingw32-strip -vs 1.dll > copy from `1.dll' [pei-x86-64] to `stEvbXqW' [pei-x86-64] > > user AT 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