This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: dll, java, gcc, cygwin
- To: khan at xraylith dot wisc dot edu
- Subject: Re: dll, java, gcc, cygwin
- From: Glen Fullmer-EGF002 <Glen_Fullmer-EGF002 at email dot mot dot com>
- Date: Mon, 26 Oct 1998 18:05:12 -0600 (CST)
- CC: Glen Fullmer-EGF002 <Glen_Fullmer-EGF002 at email dot mot dot com>, mickish at cmu dot edu, gnu-win32 at cygnus dot com
Hi Mumit,
>>>>> "MK" == Mumit Khan <khan@xraylith.wisc.edu> writes:
MK> Tried something similar, and sure enough, it crashed and burned.
MK> getenv() probably calls something that calls malloc. If malloc fails,
MK> the system is pretty much useless.
Yep, also just:
char *mstr;
mstr = malloc(100);
fails, in the helloworld example.
MK> Of course, everything seems to work when using mingw, but then you
MK> lose the POSIX layer.
Yeah, we wouldn't want to do that. ;-)
MK> problem must be due to some (bad) interaction of MSVC runtime loaded
MK> by Java and Cygwin runtime loaded by the JNI dll.
Ok, but I don't understand. So you are saying that Java might be using a
runtime library that is not compatible with the DLL library?
Thanks,
Glen
--
Glen Fullmer,(847)538-3082, Mail: <gfullmer@ccrl.mot.com>,
Web: <http://www.enteract.com/~gfullmer>
**************************************************************************
* "For a successful technology, reality must take precedence *
* over public relations, for Nature cannot be fooled." - R. P. Feynman *
**************************************************************************
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".