This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binary compatibility issues


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]