compile with different libc for different distro
Hi all,
I recently ported my code to linux, and am still not very safe here. My project is a shared library which is a plugin to some other software. It builds fine on my ubuntu 6 box. Unfortunately I need a build for RHEL 4, which is not available to me. I tried fc3, as it is the older brother of RHEL4, but couldn't get my IDE to build, which is codeblocks. Codeblocks does not use makefiles and therefore I am stuck somehow. I assume, by linking against libc-2.3 my binary should run on RHEL4. Is this possible or a wrong assumption? Is there a clean way to install libc-2.3 on ubuntu 6 together with headers and whatever I need? The binary uses xerces-c and boost libraries which I built myself and distribute along with my binary. So I assume dependencies on a specific distro should be small. Is there a better headline for this or a better forum? thank you all for your help, I am really in a trouble, but don't know how to proceed. |
CentOS is the same thing as RedHat, so you might try that.
|
CentOS == RedHat
Quote:
Thank you for your help. Seems like a valuable hint. Just for clarity, does it mean it is even more like RedHat than Fedora? Well, anyway I will start the download and try. |
It is built with the same source code as RedHat, but without the trademarked RedHat images. In effect, it is exactly the same. Fedora is built using different a different (but closely related) codebase, so it does work somewhat differently.
If what you want to do works on RedHat, chances are 99% it works in CentOS. |
All times are GMT -5. The time now is 07:15 AM. |