Computing.Net > Forums > Linux > Compiling for different glibc

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

Reply to Message Icon

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)

Thank you



Sponsored Link
Ads by Google

Response Number 1
Name: Tom
Date: July 14, 2002 at 13:24:55 Pacific
Reply:

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?


0

Response Number 3
Name: Tom
Date: July 14, 2002 at 16:28:55 Pacific
Reply:

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)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Compiling for different glibc

basmark compiler for linux www.computing.net/answers/linux/basmark-compiler-for-linux/6211.html

C++ compiler for RH 9.0 www.computing.net/answers/linux/c-compiler-for-rh-90/22133.html

What the f--- is rpmlib! www.computing.net/answers/linux/what-the-f-is-rpmlib/12352.html