This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: [PATCH] Linking with proper libs when testing the boehm-gc.
- To: apbianco at cygnus dot com
- Subject: Re: [PATCH] Linking with proper libs when testing the boehm-gc.
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 12 Dec 2000 19:07:06 -0200
- Cc: java-patches at sources dot redhat dot com, neil at daikokuya dot demon dot co dot uk
- Organization: GCC Team, Red Hat
- References: <200012122036.MAA19298@deliverance.cygnus.com>
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