This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: Call non-compil class...


Vaillant Etienne writes:
 > Hello,
 > 
 > >See the Fine Manual.  Look for -fno-assume-compiled.
 > >  
 > >
 > I'm looking for this option but I don't find it anywhere (man)... but
 > now if a run my application, I have a "Aborted"... :(

Sounds like a bug.  It shouldn't do that!

 > So, I have a question :
 > 
 > I have a file t1.o (was created with the file t1.java and gcj). Is it
 > possible a t1's methode call the class t2 whish only exists in bytecode
 > (t2.class or in a jar file) ?

Yes, compile your native code with -fno-assume-compiled.  If it
doesn't work, your gcj installation is broken.  We have had some bugs
with -fno-assume-compiled, but as far as I'm aware it works fine with
current sources.

Andrew.


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