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: native cross dll compile


>>>>> "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






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