Re: x86_64-w64-mingw32-g++ can't find -ldl

2010-10-11 Thread Yaakov (Cygwin/X)
On Mon, 2010-10-11 at 17:26 -0600, Eric Blake wrote: > There's your problem. x86_64-w64-mingw32 is a cross-compiler. It > compiles mingw executables, not cygwin executables. And mingw lacks > dlopen. You'll never get this to work. "Never" might be a *bit* harsh. If OP can't easily port the s

Re: x86_64-w64-mingw32-g++ can't find -ldl

2010-10-11 Thread Eric Blake
On 10/11/2010 05:23 PM, ke...@ca wrote: I'm using x86_64-w64-mingw32 in cygwin as 64-bit compiler to build 64-bit applications. Functions like dlopen(), dlerror(), etc., are used in codes. There's your problem. x86_64-w64-mingw32 is a cross-compiler. It compiles mingw executables, not cygwi