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: Bryce McKinlay <bryce at albatross dot co dot nz>, java-discuss at sourceware dot cygnus dot com
- Subject: Re: Dynamic loading - solutions and more problems
- From: Matt Welsh <mdw at cs dot berkeley dot edu>
- Date: Sun, 02 Apr 2000 22:24:32 -0700
- Reply-To: Matt Welsh <mdw at cs dot berkeley dot edu>
Matt Welsh <mdw@CS.Berkeley.EDU> writes:
>
> Right. The problem here is that then somehow I need to know a priori
> that ToLoadIF is required by MainProgram.so. Is there some automatic way
> of making that determination?
'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?
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.
Any ideas on this one?