This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
HowTo deal with linuxthread libraries
- From: John Reiser <jreiser at BitWagon dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 17 Oct 2007 15:57:05 -0700
- Subject: HowTo deal with linuxthread libraries
Helmut <vdr@helmutauer.de> wrote:
> unfortunately vdr is an application with lots of plugins which needs
> to be updated from time to time, so I need a second machine with 2.5.4
> for compiling those.
Use a different "spec file" for gcc. Start with "gcc -v" to find out
which spec file it is using by default. Then read "info gcc" and search
for "spec file" to learn about what the command line option "-specs="
can control. This is arcane, tedious, cumbersome, frustrating, and
prone to error. The bugs will be non-obvious. If your time is worth
anything, then it will be less expensive to spend a couple hundred euros
for a second-hand machine that remains configured with the last known
working environment, for as long as vdr must be supported.
> Is there any way to turn that binary .so library into a static one
> with all its needed functions from glibc included ?
That is such a bad idea that even those who know how to do it
will not tell you.
--