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: linking a .so with libgcj.a ?




On Wed, 15 Dec 2004, Andrew Haley wrote:

Andi Vajda writes:
>
> Linking with libgcj.a on Windows with Mingw 3.4.2 works fine, isn't it the
> same linker originally ?

I don't understand this question.


The Mingw 3.4.2 compiler only comes with a libgcj.a, there is no shared library for libgcj shipped with the Mingw compiler. Creating my python extension shared library is done by statically linking it with libgcj.a.
This seems to work well, I've been doing this with Mingw since version 3.3.1.
Isn't the Mingw linker basically the same as on Linux and Mac OS X ? Or did the person behind the Mingw tool chain do something special ? If it is smart enough to produce something that works on Windows, wouldn't the same apply on Linux ?


Andi..


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