This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Linking with proper libs when testing the boehm-gc.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]