wheybags / glibc_version_header

Build portable Linux binaries without using an ancient distro
MIT License
814 stars 65 forks source link

Question: How do I compile my own header list from an ancient GLIBC version? #30

Open earthnoob opened 3 years ago

earthnoob commented 3 years ago

I'm new to glibc and linux in general and been trying to compile my simple "Hello World" C program to run on , say-- a linux phone with a very old kernel version (2.6.32) and it's glibc version just happens to be a bit below of what this repository supports (2.10.1). I'm currently looking into more solutions, including compiling GCC 4.4 and just compile on my Ubuntu machine.

It would be nice if someone can find a way to compile headers for this (2.10.1) version of glibc, automatically is better.

brlin-tw commented 2 years ago

Isn't targeting it to a version older than 2.10.1 would be sufficient? The oldest supported version is glibc 2.5.