This is the mail archive of the java-discuss@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: Testing the boehm-gc in the combined tree.


Good point.  Unfortunately sometimes you may also need -lrt (see
threadlibs.c). 

If I recall correctly, the cause of all of this is the reference to dlopen
generated by the interception code.  I would guess it suffices to link
against whatever you need for dlopen on platforms that provide dlopen.  If
anyone can think of a portable way to intercept dlopen without pulling in
those libraries ...

Hans

> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com]
> Sent: Tuesday, December 12, 2000 11:12 AM
> To: apbianco@cygnus.com
> Cc: java-discuss@sources.redhat.com
> Subject: Re: Testing the boehm-gc in the combined tree.
> 
> 
> Alex> Is this the right way to do it?
> 
> I'm not sure it is sufficient.  Aren't there systems that need a
> different library?  Looking at boehm-gc/Makefile.orig it looks like
> -ldld is used sometimes.
> 
> OTOH this patch probably won't hurt.
> 
> Tom
> 

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