[Bug java/14212] Can't mix compiled and interpreted code with 3.3.3
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 24 18:05:00 GMT 2004
------- Additional Comments From tromey at gcc dot gnu dot org 2004-02-24 18:05 -------
The rule is, the dependencies of compiled code must also be compiled.
Basically gcj uses a C/C++ -like linkage model for Java.
So if you depend directly on Xerces, you must compile it.
This should be easy, eg you could compile the whole .jar to a .so,
or just use the XML stuff that comes with libgcj (by adding the
appropriate -l options to the link).
In the future we'll have an ABI that will lift this restriction and
let you use an arbitrary mix of compiled and interpreted code.
You'd probably still want to compile something like an XML parser, IMO.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14212
More information about the Gcc-bugs
mailing list