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.

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

2007-08-08 Thread robbincatz
I am trying to create a dll in cygwin for use with jni. I have successfully achieved this for a simple "hello world" type program using the following command: gcc -mno-cygwin -Wl,--add-stdcall-alias -shared -o myDll.dll myNativeCode.c However I would like to create my dll without using the -mno