This is the mail archive of the java-discuss@sourceware.cygnus.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: Dynamic loading - solutions and more problems


Matt Welsh <mdw@cs.berkeley.edu> writes:

> However, if I compile MainProgram.java to MainProgram.so as above, 
> I get the following error (the lines with 'MDW' are printf's I added
> to libgcj to aid debugging):

Have you tried compiling MainProgram.java with -fno-assume-compiled ?

It appears that Anthony Green added in November some finer-grained
control.  From the comments, I'm guessing the thing to do may be:
        -fno-assume-compiled=ToLoad

But I'm not sure - hopefully this is documented somewhere.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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