This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug java/14212] Can't mix compiled and interpreted code with 3.3.3


------- 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


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