static linking

Anthony Green
Tue Dec 5 23:22:00 GMT 2000

Bryce wrote:
> Hmm. Works for me. libtool should figure it out based on the -lsupc++ flag
> that is passed to it:

FWIW, the last time I tried this I got the same results as Jeff.  I didn't 
report it as it seemed like people were still shaking out bugs from libstdc++ 
and libsupc++, but perhaps this is a real problem.

Jeff wrote:
> 2) classes loaded dynamically (via Class.forName) don't get linked
> I don't see any good solution.  I got around it by linking the following 
> class into my executable, but YMMV:

Hmm.. won't the class loader rummage around in appropriately named shared 
libraries?  What happens when you make a symlink from to


More information about the Java mailing list