native cross dll compile

Christian Stuellenberg gcj@stuellenberg.de
Thu Sep 11 18:37:00 GMT 2003


>>>>> "Christian" == Christian Stuellenberg <gcj@stuellenberg.de> writes:
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

    Anthony> Yes, I believe so (libgcj.objectlist didn't exist when I
    Anthony> wrote these instructions).

    Christian> Ok, done.  libgcj.dll seems to have compiled
    Christian> successfully, but: I've placed the generated libgcj.dll
    Christian> and libgcj.dll.a to

    Christian> $PREFIX/mingw32/lib (is that correct btw?)

    Christian> and tried to compile and simple HelloWorld with against
    Christian> the libgcj.dll but it gives me the following error:

    Christian> $ mingw32-gcj --main=HelloWorld -o hello

Uups, I've forgotten to use the -Wl,--enable-runtime-pseudo-reloc
option.  Sorry for that.  It works with that option and the executable
is a linked against the dll and working.

So shared libs work.  Thnx.

Regards,
Christian







More information about the Java mailing list