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: compile against library needs classes?!


On Thursday, Sep 11, 2003, at 20:16 Pacific/Auckland, gcj@stuellenberg.de wrote:

How is it possible to compile a native executable with gcj from a
.java file with an reference to another (but already compiled as an
DSO/static lib) Java class?

You need the class file for that class. GCJ needs it to determine type information for the classes you reference in your code. Just as you need header files to compile against a C library, you need class files to compile against a Java library.


Regards

Bryce.


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