Classpath on Cgwin: UnsatisfiedLinkError problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



S. Meslin-Weber wrote:
> VM writers typically handle the delegated loadLibrary() call via their
> implementation of the VM* interface classes and in their own native
> code.
> 
> As cygwin uses a decidedly odd naming convention for its dlls, I'd say
> those parts of jc would need to be investigated. IIRC, Cygwin calles its
> equivalent of libjavanio.so cygjavanio-0.dll.

So... what's an #ifdef one can use on cygwin to detect cygwin?
E.g. #ifdef WINDOWS or #ifdef CYGWIN or something? (This is hard
for me to fix right now because I don't have cygwin set up anywhere).

Presumably other VMs have the same issue (if they want to run
on cygwin). Has anyone already solved this problem?

Enrico: the relevant macro is _JC_LIBRARY_FMT in definitions.h.
Perhaps you can play with some possibilities there.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux