Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Backward compatibility problem in RHEL5

Hi all,
Thank you for the replies.

I have tried with gcc34 in rhel5. It compiles well, but when I run the program it crashed.
I also tried compiling with "gcc34 -static", but no luck, program crashed.

Is there any way I can compile the program in rhel3 and include all the necessary libraries in the binaries; then copy it in rhel5 and run?
 Best Regards
Shikdar Mohib Yazdani

----- Original Message ----
From: Francois Cartegnie <>
To: Tokyo Linux Users Group <>
Sent: Wednesday, December 17, 2008 11:53:16 PM
Subject: Re: [tlug] Backward compatibility problem in RHEL5

> Be aware that that kind of thing will only work for a few months, a
> couple years at most.  Fairly quickly various libraries are going to
> start assuming GCC 4 compatibility, and eventually you're be stuck
> with a system you can't upgrade.
> Ie, sooner or later you're going to have to fix the app.

As long as syscalls don't change, a static build is always possible anyway...

I also saw yesterday a tool that builds a monolitic executable from dyn linked 
one including all needed libs. Can't remember the name.

To unsubscribe from this mailing list, 
please see the instructions at

Please visit our sponsor at

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links