This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Best way of compiling applications to run on older linux distros


Tom Quarendon wrote:
> We have a requirement for our application to run on Centos 4, but
> currently we compile on Fedora 9 with gcc 4.3.
> My question is what is the best way of compiling an application to
> target older linux distros? Doesn't seem to be any common wisdom that I
> can find on the web, but maybe I'm searching for the wrong thing.

Install an old linux distro.  They're still available.

> Obvisously one solution is to compile on Centos 4, using a gcc such as 3.4.
> However I'd like to use the latest gcc is I can.

Don't.  if you want to run on Centos 4, build on Centos 4.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]