This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
experimental developments with glibc
- From: John Reiser <jreiser at BitWagon dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 11 Jul 2007 07:57:18 -0700
- Subject: experimental developments with glibc
> Is it possible to have 2 working libc libraries in the system
> and switch between them (the one that comes with my distro (feisty)
> and another one for experimental developments...) ?
The 'chroot' facility of many Linux systems can be used for such testing.
If the changes are not too large (if they are "interface compatible")
then using LD_PRELOAD may work in many cases.
For the general case of multiple glibc on one system, then see
http://bitwagon.com/rtldi/rtldi.html for an example of an indirect
runtime loader for x86 which enables choosing the version of glibc
on an application-by-application basis.
--