You are not logged in. Login Now
 0-3          
 
Author Message
cross
New user/programmer questions item Mark Unseen   Sep 17 00:24 UTC 2006

This is the newbie questions item.  Ask your noob questions here.
3 responses total.
keesan
response 1 of 3: Mark Unseen   Jul 10 15:40 UTC 2008

How do I compile programs that are dynamic against libc5 or glibc 2.2.5 while
running glibc 2.3.1?  Or is there also a compiling item that I missed?
I am running a small Slackware-based linux called Basiclinux, which comes in
a libc5 and a glibc version.  I have added 2.2.5 to both and want to compile
in the former for people who only have libc5 (to use in a 20MB loop file, or
from two floppies), and I would like to be able to run precompiled programs
in the latter that require 2.3.1, but continue to compile for 2.2.5 (because
I already have all the files required, and it would be a large slow download
of 2.3).
Do I edit the Makefile in packages to point gcc to a different version of
libc?
yecril71pl
response 2 of 3: Mark Unseen   Jan 5 10:33 UTC 2010

Debian recommends using an alternate root (chroot) for that kind of thing.
Of course, you have to install all relevant tools there.
keesan
response 3 of 3: Mark Unseen   Jan 5 15:24 UTC 2010

I think you mean I should set up a small linux in another partition.  I have
done that already.  Most programs won't compile with libc5.  
 0-3          
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss