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: Problem with DLLs and processes


Przemyslaw Sliwa wrote:

Woooooww,

It seems it is much more complicated than just the simple STATIC option in GCC under Linux.
But there must be a way to link the executable with the dlls. Like in Linux.

There really isn't way. There is some ways to get around it, like bundling that DLL inside application, and load it from there.


Doesn't Linux need also static libs if you're are compiling statically linked? Or is Linux able to link dynamic libraries as static..? (Don't remember been so long time I fuzzed around with Linux compilation).

Other funny caveats are unbounded, or external symbols inside dynamic library. In linux they're solved at run time, in DLL you really have to solve them at link time... =)


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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