Re: Using a Cygwin-built DLL outside of Cygwin

2007-10-18 Thread Christian Kreibich
On Thu, 2007-10-18 at 09:42 -0700, Christian Kreibich wrote: > I'll now try to get this snippet also mentioned in the FAQ to work: > > HMODULE h = LoadLibrary("cygwin1.dll"); > void (*init)() = GetProcAddress(h, "cygwin_dll_init"); > init(); Okay, I tweaked this slightly to get it to build:

Re: Using a Cygwin-built DLL outside of Cygwin

2007-10-18 Thread Christian Kreibich
Hi Thorsten, On Wed, 2007-10-17 at 23:53 +0100, Thorsten Kampe wrote: > > My questions: > > > > - Is there a Cygwin-only way to avoid the MSVC lib command detour, to > > avoid the "multiple .text sections" issue? > > > > - I have gleaned from related postings and FAQ 6.12 that the crashes are >

Re: Using a Cygwin-built DLL outside of Cygwin

2007-10-17 Thread Thorsten Kampe
* Christian Kreibich (Wed, 17 Oct 2007 11:56:49 -0700) > I have a library originally developed on Linux/FreeBSD that is building > fine on Cygwin. It also works fine if I build executables using this > library inside Cygwin. The goal however is for the resulting DLL to work > outside of Cygwin, for