X-Spam-Check-By: sourceware.org Message-ID: <43D8EFBC.3080604@andxor.it> Date: Thu, 26 Jan 2006 16:50:20 +0100 From: Lapo Luchini User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Alessandro Premoli Subject: Re: Java and Cygwin: a difficult relation References: <43D8DE02 DOT 4050407 AT andxor DOT it> In-Reply-To: <43D8DE02.4050407@andxor.it> OpenPGP: id=15046F78 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms080002080106000205020503" Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------ms080002080106000205020503 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Lapo Luchini wrote: > The other problem is that from JNI you can't simply call a cygwin DLL, > as it wouldn't load his cygwin1.dll dependency correctly and surely dump. > As Dave Korn suggested, we could have used cygload to actualyl load it "the usual way" as JNI, but we discovered cygload only after pursuing the other way around. And, thinking about it, I'm not quite confident I owuld be able to convert cygload.exe into a cygload.dll loadable as Java JNI 0=) Good news is that... we were assuming it was a Cygwin problem, but it was not, we had already (and correctly) avoided that, calling Java from Cygwin (and not the inverse). The "real" problem was that libgamin was compiled with "pthreads" and this seem to be "bad" for Java JNI. Something like that. I don't really want to know it that much: the simple raw fact that it now *WORKS* is already sufficient =P Lapo --------------ms080002080106000205020503 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIJHzCCAuowggJToAMCAQICAw+xATANBgkqhkiG9w0BAQQFADBiMQsw CQYDVQQGEwJaQTElMCMGA1UEChM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