From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12056 invoked by alias); 20 Aug 2011 21:29:10 -0000 Received: (qmail 12048 invoked by uid 22791); 20 Aug 2011 21:29:10 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,TW_BJ,TW_YG X-Spam-Check-By: sourceware.org Received: from mail4.sea5.speakeasy.net (HELO mail4.sea5.speakeasy.net) (69.17.117.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Aug 2011 21:28:57 +0000 Received: (qmail 5213 invoked from network); 20 Aug 2011 21:00:11 -0000 Received: from 24-113-112-30.wavecable.com (HELO [192.168.2.2]) (tomdean@[24.113.112.30]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Aug 2011 21:00:11 -0000 Subject: x86_64-w64-ming32-g++ file not recognized by objdump From: "Thomas D. Dean" Reply-To: tomdean@speakeasy.org To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Date: Sat, 20 Aug 2011 21:29:00 -0000 Message-ID: <1313874009.16574.15.camel@asus> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-08/txt/msg00394.txt.bz2 I am missing something, I think. I have a simple application, taken from the web, t.cc #include #include using namespace std; int main() { vector vs; vs.push_back("asdf"); } If I compile with g++, I get an executable that works, i.e. runs without error. This file is recognized by objdump and cygcheck. If I compile with x86_64-w64-ming32-g++ -m64 t.cc -o t the resulting executable produces an error message > ./t.exe t.exe: error while loading shared libraries: ?: cannot open shared object file: no such file or directory. > objdump -p ./t.exe objdump: ./t.exe: File format not recognized > cygcheck ./t.exe ...\t.exe But, no list of dll's as produced from the g++ version. What am I doing wrong? tomdean -- 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