| Thomas Maier-Komor 2006-02-06, 5:56 pm |
| Tommy Reynolds wrote:
> On Mon, 06 Feb 2006 16:19:16 +0000, Braincramp wrote:
>
>
> This is a definite "maybe". A portable application should just
> recompile on the new system. However, the sizes of some C items
> (read that as sizeof(int) and so on) will change. If your program
> depends heavily on casting to morf pointers into longs, for example,
> you may have some issues.
>
> So, this portability depends on the app, not the platform.
>
> Cheers
I think you read the question a little bit too fast. The OP did not ask
for source code compatibility, but wanted to know if his 32 bit _binary_
would run on a 64 bit system with a newer release.
I don't know the answer to this question for sure. But looking into the
release notes of RHEL4
(http://www.redhat.com/docs/manuals/...notes/es-amd64/)
shows that it comes with 32 and 64bit libraries. So I would assume that
it can execute the 32 bit binaries. But be aware that depending on the
libraries you are using you might also run into compatibility issues, if
your specific library version is not supported anymore and the newer
version has a different ABI.
I am not aware that RedHat would give any binary guarantee concerning
executables, as commercial UNIXs sometimes do (e.g. Solaris includes the
appcert tool to verify binary compatibility).
Tom
|