Linking ?
Tom Tromey
tromey@redhat.com
Wed Oct 10 10:09:00 GMT 2001
>>>>> "Torsten" == Torsten Rüger <torsten.rueger@firsthop.com> writes:
Torsten> how do I link when I can't compile all the classes.
Torsten> In other words, how do I mix native code and class files (my
Torsten> main is compiled, but of course I could change that)
Right now gcj requires that if you compile a class Foo, and it relies
on a class Bar, then Bar must also be compiled.
There is some code in gcj to ease this restriction. The idea was you
could use `-fassume-compiled' and `-fno-assume-compiled' to modify
gcj's behavior. However, my understanding is that this code doesn't
actually work. I don't know exactly what is wrong with it, nor do I
know what would be required to make it work.
Tom
More information about the Java
mailing list