Chapter 3. Creating a Development Environment for LRP

The first concern is creating a development environment. Modern distributions won't do, since they use GNU glibc 2.2 at the time of this writing, and LRP still uses GNU glibc 2.0.

There are several ways to create a suitable environment for compiling programs for use with LRP:

Suitable distributions for LRP development — which are based on GNU glibc 2.0 — include (but aren't necessarily limited to):

The new LEAF distributions are going towards glibc 2.1; to develop for glibc 2.1, use one of the following distributions:

It is also a good idea to upgrade the running kernel of the development environment to one that matches the kernel being used in your developmental LRP image. For LRP, this likely would be 2.0.36 or 2.2.16. For Eigerstein, the kernel is probably Linux 2.2.15 or 2.2.16. For Oxygen, the proper kernel should be Linux 2.2.18 or 2.2.19. To find which kernel you are using, do one of these:

uname -a


cat /proc/sys/kernel/osrelease

The kernel will be more important for compiling programs that tie closely to the kernel (such as lcap and others). If the program being compiled isn't tied to the kernel, then matching kernel versions becomes less important.