Re: x86_64-w64-ming32-g++ file not recognized by objdump

2011-08-20 Thread Thomas D. Dean
On Sun, 2011-08-21 at 11:32 +0800, JonY wrote: > you are probably missing the runtime DLLs from path. They should be > found in "/usr/x86_64-w64-mingw32/sys-root/mingw/bin". > > You are correct. export PATH="$PATH:/usr/x86_64-w64-mingw32/sys-root/mingw/bin" fixed the problem. Thanks tomdean

Re: x86_64-w64-ming32-g++ file not recognized by objdump

2011-08-20 Thread Thomas D. Dean
On Sun, 2011-08-21 at 11:32 +0800, JonY wrote: > Hi Thomas, > > you are probably missing the runtime DLLs from path. They should be > found in "/usr/x86_64-w64-mingw32/sys-root/mingw/bin". > > I have: libgcc_s_sjlj-1.dll libgfortran-3.dll libgomp-1.dll libobjc-2.dll libssp-0.dll libstdc++-6.dl

Re: x86_64-w64-ming32-g++ file not recognized by objdump

2011-08-20 Thread Thomas D. Dean
On Sun, 2011-08-21 at 12:09 +1000, Sisyphus wrote: Sorry for the Top post, with a related question. Maybe the correct question I should ask, is how to create a 64-bit executable with cygwin gcc 4.5.3? I think I am missing some environment variable that points to the correct dll to load? > -

Re: x86_64-w64-ming32-g++ file not recognized by objdump

2011-08-20 Thread JonY
On 8/21/2011 10:09, Sisyphus wrote: > > - Original Message - From: "Thomas D. Dean" > >> #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. T

Re: x86_64-w64-ming32-g++ file not recognized by objdump

2011-08-20 Thread Sisyphus
- Original Message - From: "Thomas D. Dean" #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