Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Compiling for different glibc
Name: Joel Dudley Date: July 14, 2002 at 11:24:44 Pacific
Comment:
I am messing around with LEM (a small linux distro) and would like to compile programs for it. It uses glibc 2.1 and is binary compatible with mandrake 6.1. I have Mandrake 8.1 installed on my main computer, and I would like to compile programs (kernels and modules along with libraries and regular programs) on it that will run on LEM. Is there any way to do this? (without installing mandrake 6.1)
Yes, it should work, as long as both processors have the same architecture. Some programs may also require the same kernel version.
0
Response Number 2
Name: Joel Dudley Date: July 14, 2002 at 14:59:29 Pacific
Reply:
Yes, both computers have the same architecture, but Mandrake 8.1 uses glibc 2.2.1 (I believe) and the binaries won't work on LEM (glibc 2.1). Can I compile the programs too force backwords compatibility?
Oh, right. I'm not sure about that. You could always upgrade glibc.
0
Response Number 4
Name: Joel Dudley Date: July 14, 2002 at 20:04:26 Pacific
Reply:
What is the best way upgrade glibc? Will the current LEM applications still run, or will they need to be recompiled? Also, I'm trying to keep my LEM under 4MB. (It is my understanding that this is the maximum ramdisk size with standard kernels, and I would prefer not to recompile one)
Summary: Hi, Most Linux/Unix programmers use vi to edit files, especially code, since it highlights and indents things for you, and in my opinion it is the best. vi is a very powerful editor, but it is not gra...
Summary: Welcome to rpm hell. This is the reason why I strongly dislike any rpm based distro. In case you don't know, glibc is the main c library on the system. Virtually all programs use it. There are a few i...