Problem compiling DLL

Andrew Haley aph-gcc@littlepinkcloud.COM
Wed Sep 5 09:11:00 GMT 2007


Daniel Adolfsson writes:
 > It was me who failed to link with the proper libraries, but it's working now.
 > 
 > I have a different issue now though, and I'm not sure how to solve it,
 > if it can be solved.
 > 
 > First, I can link against the DLL version of libgcj, but I need to use
 > -findirect-dispatch, otherwise it won't find the main class. Should I
 > really have to use this switch?

That seems odd.  Please let us know how you're linking.

 > Also, using a second DLL doesn't work as it won't find the classes.

That also seems odd.  I think you may be linking incorrectly.

Andrew.



More information about the Java mailing list