Re: [Sablevm-developer] linking with java-lang
Brought to you by:
egagnon
From: Etienne M. G. <eti...@uq...> - 2001-09-17 17:05:27
|
I think I forgot to add a few things in configure.ac (I will copy them over from sablevm's), e.g. AC_DEFINE(_REENTRANT,1,link with reentrant library functions) This define is critical to good operation in a multithreaded environment. Well designed libraries relieve "programmers" from the burden of calling the "right" function when this is defined... I will also add my usual gcc set of compile options. Etienne On Mon, Sep 17, 2001 at 05:49:41PM +0100, John Leuner wrote: > > Hi Etienne, > > > > Thanks for the pointer. dtoa.c fixed the _Jv_dtoa issue. To fix the > > _Jv_strtod_r I had to define KISSME_LINUX_USER for the file > > src/java-lang/java_lang_Double.c (well I altered it to a #if 1). > > Shouldn't this be picked up by the configure script? Thanks again, > > Hmm, I think that's there because gcj was using it's own reentrant method. > > It should be named something else. > > John Leuner > -- Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |