Re: [Sablevm-developer] lt_dlopen(NULL) dependency eliminated
Brought to you by:
egagnon
From: John L. <je...@pi...> - 2004-05-02 12:20:50
|
On Sat, 2004-05-01 at 23:26, Etienne Gagnon wrote: > Hi all. > > I have checked in staging my adaptation of Melanie's code to eliminate > dependencies on a working lt_dlopen(NULL)/lt_dlsym() pair. > > Hopefully, this change will greatly simplify porting SableVM to new > platforms. Why not a "real Windows" port, soon, using Microsoft compiler? > > In order for this code to work, it is *imperative* that all internal > native methods (e.g. Java_*) to be defined as: > > JNIEXPORT ... > Java_... (...) > { > ... > > Where "Java_" starts on the first character of a line, and the "(" of > formal parameters is on the same line. If you do not follow this > requirement, you method won't be found at runtime... You've been warned;-) > > Anyway, this should be true of *all* functions in SableVM. You're > welcome to fix any function that does not abide by this rule. :-) > > Etienne -- John Leuner <je...@pi...> |