compile against library needs classes?!
Bryce McKinlay
bryce@mckinlay.net.nz
Thu Sep 11 14:32:00 GMT 2003
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.
More information about the Java
mailing list