This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 10/11/2010 05:23 PM, kenny@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 cygwin executables. And mingw lacks dlopen. You'll never get this to work.


If you want to compile 64-bit cygwin apps, then help us develop a 64-bit cygwin dll first. But for now, ALL cygwin apps are 32-bit, because cygwin has not yet been ported to 64-bit execution.

--
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]