This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: using static libraries
- From: Andrew Haley <aph at redhat dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 29 Nov 2010 10:13:27 +0000
- Subject: Re: using static libraries
- References: <icropc$bv6$1@dough.gmane.org>
On 11/27/2010 08:13 PM, Kristoff Bonne wrote:
> Hi,
>
>
> I have a question about using static libraries and sofar I have not
> found it on the internet-archive.
>
>
> I'm working on a software-package to create voice-announcement on D-STAR
> repeaters (radio-amateur digital voice repeaters).
>
> I use three external libraries: libsndfile (read the wav-file), pthread
> (posix threads) and rt (for timed interrupts).
>
>
> As the repeaters by default run a version of CentOS where "libsndfile"
> is not installed, nor present in the default repostitory, it needs to be
> installed from source.
I wouldn't do that. In the end, linking statically with various versions
of the same libraries will only lead to choas, I'd grab libsndfile from
EPEL.
(No, this does not constitute official advice from Red Hat!)
Andrew.