Defining lt_preloaded_symbols

Tom Tromey tromey@cygnus.com
Tue Sep 12 08:15:00 GMT 2000


Alexandre> We only need it today because prims.cc calls
Alexandre> LTDL_SET_PRELOADED_SYMBOLS().  But this is supposed to be
Alexandre> done in the main program, not in a library function.  We
Alexandre> could just leave it up to the user to do it, in case he
Alexandre> wants dlpreopening.

That part of prims is the "main program" in a sense.
The real main is automatically generated at compile time.  Having it
call LTDL_SET_PRELOADED_SYMBOLS would be hard.

Alexandre> Since libgcj does use libtool, we can apply libgcj's
Alexandre> licensing terms to the copy of libltdl we use.

That's good enough for me.  I didn't realize that.

Tom


More information about the Java-patches mailing list