linking a .so with libgcj.a ?

Andi Vajda andi@osafoundation.org
Wed Dec 15 18:22:00 GMT 2004



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



More information about the Java mailing list