Building for older systems

Michael Eager eager@eagerm.com
Tue Dec 1 14:56:00 GMT 2015


On 11/29/2015 07:02 AM, Carlos O'Donell wrote:
> 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.
>

That is equivalent to building on a VM running an older Linux,
which is what I have been doing.

There are dependencies in current tool chains for packages
(or versions) which are not available on old (or, in the case
of RH6.2, ancient) versions of Linux.


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077



More information about the Libc-help mailing list