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 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 software to
use LoadLibrary and friends, then there is always the dlfcn-win32
wrapper.  A .cygport for x86_64-w64-mingw32 attached.


Yaakov

Attachment: mingw64-w64-dlfcn-0_svn19-1.cygport
Description: Text document

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