[pylucene-dev] Question about the MakeFile and static linking...

Andi Vajda vajda at osafoundation.org
Fri Jun 15 18:01:26 PDT 2007


On Fri, 15 Jun 2007, Krys Wilken wrote:

> Hi list,
>
> I am wondering why, when staticly linking gcj (in the linux 32-bit, gcj 3.4.x
> section), that the libstdc++.so.6 libgcc_s.so.1 are included in the
> LIB_INSTALL variable.

Because these can't be statically linked, no matter what.
The static link only applies to libgcj.a.
That's where the biggest space saving comes from.

> I know this makes them get installed, but why are they needed?  I have run the
> unit test with out those libraries being installed and they all pass (except
> the timing one, which did not pass anyway).  Am I just lucky that my distro's
> libs work, or are these files actually superfluous?

Probably because your distro has those libs too in the system places.

Andi..


More information about the pylucene-dev mailing list