Re: Another fix for libltdl (fwd)

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Wed Jan 13 1999 - 02:53:55 EST


 I looked in Runtime.c and it does indeed #define LIBRARYSUFFIX ".la"
What does this mean? It looks like it affects only Runtime.buildLibName.
So, if a user loads does a `loadLibrary("mylib")', what will kaffe look
for?

Is Raffaele right when he says that somebody who simply builds a
JNI native shared library is affected by our use of libtool?

        - Godmar

>
> In the mean time I figured out why my test library wouldn't load.
> I didn't change the definition of LIBRARYSUFFIX in
> libraries/clib/native/Runtime.c. Now also the test is working.
>
> BTW, this means when I create a native library I have to know
> that you are using libtool, and this may not be true if I got
> a preinstalled kaffe binary and I don't have access to the sources
> (or I'm too lazy to read the documentation :)
>
> What would be the drawback of trying to load the native library
> if loading the .la fails ?
>
> Another alternative could be to distribute a script that builds
> the native library from the C file(s) (so I don't have to figure
> out all the right compiler/linker flags to build the library).
>
> -- Raffaele
>
> -------------------------------------------------------------------------
> raff@aromatic.com (::) http://www.aromatic.com/~raff/
> http://www.aromatic.com/
>
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:40 EDT