Recompile RHEL 32-bit code on AMD's Opteron?
Hi,
I have a 32-bit Intel machine running RHEL3. That's where I build some executables. Can I use them on a machine with an AMD Opteron w/ 32-bit/64-bit support running RHEL3 without having to recompile the code? Any documentation on that? Thanks, RH |
IF that worked no one would compile on their 64bit systems and it would be a news event of biblio proportions. It would be on http://www.linux.org on the main page!
But seriously I haven't heard of it. Sorry.. I'd just try a test with something non-critical and see if it worked and then go from there. If it does work you'll make history. Please remember this place and post the HOWTO in the Linux Tutorials section if you do figure out a way. There's also http://www.x86-64.org/ and if it aint there I'd download a new distro that is completely 64Bit and wait for the rpm's to catch up to the system, etc. |
Thanks, t3gah. I was able to get an answer from Redhat saying that I should be able to run 32-bit binaries on a 64-bit AMD machine without having to recompile them.
|
Quote:
|
Here's what they said: It's like a "backward compatibility" feature. RHEL3 on AMD-64 comes with 32-bit and 64-bit libraries. So if both are installed on the machine, and the binary is dynamically linked with their SOs, then it should be fine."
|
PS. check out http://www.x86-64.org/documentation/abi-0.95.pdf appendix A.
|
All times are GMT -5. The time now is 02:28 PM. |