X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_40,TW_BJ,TW_YG X-Spam-Check-By: sourceware.org Subject: x86_64-w64-ming32-g++ file not recognized by objdump From: "Thomas D. Dean" Reply-To: tomdean AT speakeasy DOT org To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" Date: Sat, 20 Aug 2011 17:08:45 -0700 Message-ID: <1313885325.24758.1.camel@asus> Mime-Version: 1.0 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 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