LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-18-2005, 01:53 PM   #1
rmhaddad
LQ Newbie
 
Registered: Jan 2004
Location: Bay Area, CA, USA
Posts: 11

Rep: Reputation: 0
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
 
Old 03-20-2005, 09:36 PM   #2
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
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.
 
Old 03-21-2005, 12:47 AM   #3
rmhaddad
LQ Newbie
 
Registered: Jan 2004
Location: Bay Area, CA, USA
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 03-21-2005, 01:18 AM   #4
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
Quote:
Originally posted by rmhaddad
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.
I'd wonder about that answer thought. What does the 64Bit portion advantage give you then if you are running 32bit applications?
 
Old 03-21-2005, 01:31 AM   #5
rmhaddad
LQ Newbie
 
Registered: Jan 2004
Location: Bay Area, CA, USA
Posts: 11

Original Poster
Rep: Reputation: 0
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."
 
Old 03-21-2005, 01:34 AM   #6
rmhaddad
LQ Newbie
 
Registered: Jan 2004
Location: Bay Area, CA, USA
Posts: 11

Original Poster
Rep: Reputation: 0
PS. check out http://www.x86-64.org/documentation/abi-0.95.pdf appendix A.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FS: Sun Java Station W1100Z 64 bit Opteron, 80gb, 512MB BOX Randy Miyazaki Solaris / OpenSolaris 0 11-14-2005 05:33 PM
RHEL 4.0 32 bit version on AMD Opteron 246 sohos Linux - Software 1 09-19-2005 07:03 PM
What 64 bit OS for Opteron server jedimastermopar General 10 02-24-2005 01:37 PM
4GB RAM: 64-bit Opteron Problems deviance99 Linux - Hardware 6 06-22-2004 08:24 PM
64 bit linux/cygwin for opteron based machines. loanstocker Linux - General 2 04-28-2004 03:26 PM


All times are GMT -5. The time now is 03:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration