This is the mail archive of the libc-help@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: Linking to older GLIBC symbols


On 4/15/2011 3:51 AM, Mike Frysinger wrote:
On Thursday, April 14, 2011 23:32:57 Bob Rossi wrote:
Is there any easy way to use a modern glibc/linux distro
and link against versions at or before a certain GLIBC
version to make distributing the binaries easy?

no. use a dedicated chroot, or create a cross-compiler that simply links against the older glibc. the former is probably easiest as you can grab an old distro and unpack it. -mike

Exactly.


You want to build yourself an x86->x86 cross-compiler that has a sysroot with an old glibc.

It's the *easiest* way to go.

The alternatives are all pretty ugly, but LSB has been working to solve this problem for quite a while. It's taking time to fix.

For example Flexera Software's FlexNet Publisher (FlexLM) on Linux is now LSB compliant. Kudos to them for doing the work!

The more distros that sign up to work with LSB the better this is going to be...

Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos@codesourcery.com
+1 (650) 331-3385 x716


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