[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pspell] Getting Pspell to Work Under Solaris
From: |
Kevin Atkinson |
Subject: |
[pspell] Getting Pspell to Work Under Solaris |
Date: |
Thu, 1 Feb 2001 01:44:08 -0500 (EST) |
Pspell will work right under Solaris with gcc providing that the C++
libraries were compiled as shared libraries. Unfortunately, because the
default gcc installation does not enable the building of shared libraries
by default, trying to build a shared library will fail. Pspell .11 would
compile as a shared library under Solaris, however the C++ libraries were
not linked in which meant it would not work right when a module is
dynamically loaded in. In Pspell .12 I switched to the
multi-library-branch of libtool which meant that a shared library would
not compile at all if the C++ libraries where not available as shared
libraries or at very least the static library was compiled as PIC code
which is highly unlikely.
However, thanks to a tip from the libtool mailing list, I was able to get
Pspell fully functional under Solaris with the statically compile shared
C++ libraries. The trick is to set the environmental variable LDFLAGS to
"-mimpure-text" before running configure in both Pspell and Aspell. This
will force the linker to accept the non-pic code into the shared library.
The next version of Pspell should do this automatically.
---
Kevin Atkinson
kevina at users sourceforge net
http://metalab.unc.edu/kevina/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [pspell] Getting Pspell to Work Under Solaris,
Kevin Atkinson <=