Re: Multi kernel tree support on the same distro?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steve Brueggeman
Date: Thursday, January 4, 2007 - 9:28 pm

There are some difficulties with gcc versions between linux-2.4 and linux-2.6,
but I do not recall all of the details off of the top of my head.  If I recall
correctly, one of the issues is, linux-2.4 ?prefers? gcc-2.96, while newer
linux-2.6 support/prefer gcc-3.? or greater.

At any rate, what I've done is create a chroot environment.  I created this
chroot directory by installing an older distribution that was created with
linux-2.4 in mind (example, RedHat v8.2) into that at chroot directory.  The
easiest way to do this that I'm aware of is to install the older distribution
(minimal development, no server junk, no X junk) on another computer, then copy
from that computer to a directory on your development computer.

Then chroot to that directory with something like

chroot /home/linux-2.4-devel /bin/bash
mount /proc

Note that I have had some issues with having a linux-2.6 kernel on /proc with a
linux-2.4 distribution, but nothing that greatly affects code development.

Of course, I'm assuming that you are the only person that has access to this
development computer, because chroot is a security risk (example: cd /; cd ..)

Sorry for being short on details, but I hope this helps.

Steve Brueggeman


On Thu, 04 Jan 2007 16:14:42 -0800, you wrote:

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Multi kernel tree support on the same distro?, Akula2, (Thu Jan 4, 12:46 pm)
Re: Multi kernel tree support on the same distro?, Kristof Provost, (Thu Jan 4, 1:23 pm)
Re: Multi kernel tree support on the same distro?, Steve Brueggeman, (Thu Jan 4, 9:28 pm)
Re: Multi kernel tree support on the same distro?, Auke Kok, (Fri Jan 5, 12:30 am)
Re: Multi kernel tree support on the same distro?, Renato S. Yamane, (Fri Jan 5, 5:28 am)
Re: Multi kernel tree support on the same distro?, Willy Tarreau, (Sun Jan 7, 2:30 am)
Re: Multi kernel tree support on the same distro?, Willy Tarreau, (Sun Jan 7, 6:20 am)
Re: Multi kernel tree support on the same distro?, Willy Tarreau, (Sun Jan 7, 7:32 am)