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: Building for older systems


On 11/29/2015 09:20 AM, Michael Eager wrote:
> Any solutions to building for an older glibc?

There is only one supported way to do what you want.

You need to build against an old sysroot e.g. --sysroot option
in gcc. With the old system root installed in some path to allow
you to compile against it.

It is not supported for you to build against a new glibc
and run against an older runtime. That would be forwards
compatibility, which we don't guarantee.

Cheers,
Carlos.
 


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