[PATCH] Linking with proper libs when testing the boehm-gc.
Alexandre Oliva
aoliva@redhat.com
Tue Dec 12 13:07:00 GMT 2000
On Dec 12, 2000, Alexandre Petit-Bianco <apbianco@cygnus.com> wrote:
> * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
> set accordingly.
Why does boehm-gc depend on dlopen? Wouldn't it be better to arrange
for it to use libltdl? In this case, you'd just have to link libgcjgc
with libltdl.la, and all needed libraries would be implicitly linked
in. Also, we may want to use AC_LTDL_DLLIB (from libtool's ltdl.m4)
in libjava/configure.in to add LIBADD_DL to the libgcj specs.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Java-patches
mailing list