gcc – Would a program compiled in a Centos 7 environment run in a Centos 5.6 environment?

Does anyone have experience running a program compiled using gcc in a Centos 7 linux environment in a Centos 5.6 linux environment? Are there specific gcc compiler versions or command line options that can do the job?

We haven’t tried compiling or running programs yet except, of course, on our current Centos 5.6 platform where our programs are currently compiling and running fine.

We are considering upgrading some (but, unfortunately, not all) of our systems to Centos 7 to enable access to certain tools and software applications not available for Centos 5.6.

Read more here: Source link