This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: binary compatibility issues
- From: Mark Brown <bmark at us dot ibm dot com>
- To: Adam Reid <areid at lumerical dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 7 Oct 2005 08:59:27 -0500
- Subject: Re: binary compatibility issues
- Reply-to: bmark at us dot ibm dot com
Adam Reid wrote:
> I am developing applicaitons on a glibc-2.3.4/gcc-3.4.3 based system. I
would
> like to make the binaries compatible with systems based on older
versions of
> glibc, perhaps as old as 2.2.4. When I compile my application against
glibc-
> 2.3.4, I get dependencies on about a dozen symbols that have version
number
> GLIBC_2.3 or greater. Using nm, I can see that these symbols also
> have versions
> <GLIBC_2.3 within the glibc library. Can anyone suggest a way that I
> can remove
> the dependency on any GLIBC_2.3.x, so my application only requires
> GLIBC_2.2.4?
The way the libc is developed, is with the idea that binary compatibility
goes
"upwards" and not "backwards". The best way to make your life easier, is
to
build on a 2.2-based system.
-------------------
bmark@us.ibm.com