On Thu, Jan 25, 2001 at 06:16:45PM -0500, Tom Briggs wrote:
> Here's an interesting question: when we build AbiWord on say, Linux, for
> distribution, do we build it with zlib and psiconv linked in statically? If
> so, under what circumstances are those libs (and expat and wv and libpng and
> libiconv, for that matter) loaded dynamically? Only when compiling from source?
Ok, here's how it works on linux.
If the build system finds some libraries (i believe zlib, libiconv,
and libpng) on the system, it doesn't compile those libraries at all.
Then, they are linked statically or dynamically in the same way every
other system library is, namely by the UNIX_CAN_BUILD_STATIC
enviroment variable.
The other libraries (wv, expat, and now psiconv) are always built from
source, and are always statically linked to the executable. This is
because these libraries have historically not been available as shared
libraries. This has now changed for both wv and expat, so this should
be remedied.
sam th
[EMAIL PROTECTED]
http://www.abisource.com/~sam/
GnuPG Key:
http://www.abisource.com/~sam/key
PGP signature