I'm trying to build some binaries of several performance benchmarks to be used on different Linux distributions. I've found that building on a recent distro like RH5U3 is making the binary to not work on older versions, such as RH4U5.
My current workaround is to install the Intel C Compiler in the old machine and build the binary there, then the binary will be compatible on newer systems. However, I'm sure this can be avoided somehow.
Perhaps anyone canpoint any compiler option(s) which may force the binaries to be portable.
Thanks in advance.