[Sablevm-bugs] [ sablevm-Bugs-780035 ] Making SableVM less GNU/Linux specific
Brought to you by:
egagnon
From: SourceForge.net <no...@so...> - 2004-03-26 22:42:17
|
Bugs item #780035, was opened at 2003-07-30 02:52 Message generated for change (Comment added) made by davidbelanger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=780035&group_id=5523 Category: Configuration Problem Group: SablePath >Status: Closed Resolution: None Priority: 5 Submitted By: David Bélanger (davidbelanger) >Assigned to: David Bélanger (davidbelanger) Summary: Making SableVM less GNU/Linux specific Initial Comment: 2 things to make SableVM less GNU/Linux specific: 1) SablePath assumes that the native libs names end with .so. However, on Mac OS X they end with .dylib. And on Windows, they will probably end with .dll. Doing symbolic links on OS X will work. However, the Java code is supposed to change it to a system-dependent name (Runtime.loadLibrary). load (path + "lib" + libname + "-" + getSableVMVersion() + ".so"); I guess there could be a getNativeLibSuffix(). Suggestions on how to get this info from autoconf are welcome. 2) Replace: find | grep ... with find . | grep ... in the build script, section to build class. SunOS, Mac OS X and FreeBSD find will complain if find has no argument. David ---------------------------------------------------------------------- >Comment By: David Bélanger (davidbelanger) Date: 2004-03-26 17:42 Message: Logged In: YES user_id=694080 1) Was added. Actually dlopened lib have the .so extension on OS X. But code is in place for Windows or other non-Unix arch. 2) This is no longer relevant, scripts have been removed. David ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=780035&group_id=5523 |