Re: Creating a dll in cygwin for use with jni without -mno-cygwin

2007-11-25 Thread Martin Dorey
> The problem here is that you're loading the Cygwin1.dll library > dynamically, as opposed to linking against it normally. (Depending on exactly what you're trying to do, another approach can be to use a Cygwin-based executable to launch Java. There's more information about how to do that, incl

Re: Creating a dll in cygwin for use with jni without -mno-cygwin

2007-08-09 Thread robbincatz
I really appreciate your detailed reply Brian. Having read your response I realised that creating a dll in cygwin is way over my head especially as I am limited on how much (more)time I can spend on this problem. I have since switched to using a linux platform and am having much more success.

Re: Creating a dll in cygwin for use with jni without -mno-cygwin

2007-08-08 Thread Brian Dessent
Brian Dessent wrote: > [...] your own initialization procedure that > saves a copy of the bottom 4k, initializes Cygwin, and then restores the > saved parts. Just to be clear, I don't mean that it should initialize Cygwin and then restore those parts of the stack. To put it differently, when Cyg

Re: Creating a dll in cygwin for use with jni without -mno-cygwin

2007-08-08 Thread Brian Dessent
robbincatz wrote: > I have looked at every bit of information on -mno-cygwin, building dlls in > cygwin and jni but nothing has helped although I now believe the problem > lies with the fact that i did not install my libraries for mingw but for > cygwin. Using -mno-cygwin makes a MinGW applicatio