This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Dynamic loading - solutions and more problems
- To: Matt Welsh <mdw at cs dot berkeley dot edu>
- Subject: Re: Dynamic loading - solutions and more problems
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Mon, 03 Apr 2000 17:38:56 +1200
- CC: java-discuss at sourceware dot cygnus dot com
- References: <200004030524.WAA11513@mnemosyne.CS.Berkeley.EDU>
Matt Welsh wrote:
> 'gcj -M' almost works, except it only seems to list a single dependency
> for a given .java or .class file, not all dependencies. Is this a bug?
Yeah, I think its a bug.
> I suppose if gcj -M were to work then I could have my Makefile
> link against all of the dependencies when generating a .so file from
> a .class file. This is a little painful but should be acceptable.
> >From my initial testing it seems that this won't produce additional
> code bloat, which is nice.
Yep! Go ahead and compile in all the dependencies. Of course, you'll need to
compile in the dependencies' dependencies' as well, and so on. I think you
will soon discover that the dynamic loading mechanism you want is quite
unneccessary ;-)
regards
[ bryce ]