harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: compiling JCHEVM with GCC/Cygwin
Date Mon, 13 Feb 2006 18:34:07 GMT
snowdosker wrote:
> Hello Enrico
> 
> I'm trying to build JCHEVM following your steps described at
> http://www.mail-archive.com/harmony-dev@incubator.apache.org/msg03212.html
> 
> I was able to build Classpath sucsesfuly, but
> fail making JCHEVM
> 
> In result I have
> 
> native/java_lang_VMThread.c: In function `JCNI_java_lang_VMThread_start':
> native/java_lang_VMThread.c:388: warning: implicit declaration of 
> function `pthread_attr_setstackaddr'
> native/java_lang_VMThread.c:388: warning: nested extern declaration of 
> `pthread_attr_setstackaddr'
> make[2]: *** [java_lang_VMThread.o] Error 1
> make[2]: Leaving directory `/home/ivan/jchevm/libjc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ivan/jchevm/libjc'
> make: *** [all-recursive] Error 1

You can workaround the lack of pthread support in cygwin by defining
_JC_NO_THREAD_ATTRIBUTES at the top of that file.

-Archie

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

Mime
View raw message