harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: Classpath on Cygwin: failed to open native library error
Date Sun, 19 Feb 2006 20:36:14 GMT
snowdosker wrote:
> Well one more question.  In file  jchevm\libjc\arch\i386\i386_libjc.h
> there wasn't  branch for cygwin.... as result  compilation failed with
> "Unsupported O/S for i386 machine context functions" message..
> Someway I defined this inline function  _jc_jmpbuf_sp(const sigjmp_buf 
> buf) but guess I did it wrong way.
> Do you know how to do it correctly?

You just have to figure out where the stack pointer is saved
in a sigjmp_buf and pull it out.

But in any case this function is only used for garbage collection.
If you avoid GC then it doesn't matter what this function
returns (except for the assertion in stack.c, which you can


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

View raw message