This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem compiling DLL
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.