Re: [SLE] Can a native 64-bit CPU run 32-bit code ?
- From: David Bottrill <david@xxxxxxxxxxxx>
- Date: Sat, 15 Apr 2006 23:38:22 +0100
On Saturday 15 April 2006 23:12, Maura Edeweiss Monville wrote:
My laptop has a AMD Athlon 64 Processor 3700+, Architecture is x86_64.
My problem is that I have to compile a code that will then be linked to
pre-compile binaries produced on 32-bit machines.
In short, everything must be compiled to generate 32-bit code for the sake
of compatibility.
There should be an option in the gcc compiler that forces it to generate
32-bit code..
But assuming I've got an executable for 32-bit machines, then can I run
such an exectable on MY OWN laptop which is 64-bit ?
If the answer is "yes" (I hope so) then I'd be grateful to know how I can
do that .
Providing you have any 32bit libraries you need installed then you can just
prefix your program name with linux32
for instance you can run bash in 32 bit by typing
linux32 bash
David
--
David Bottrill
david@xxxxxxxxxxxx
www.bottrill.org
Registered Linux user number 330730
Internet Free World Dialup: 683864
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- Re: [SLE] Can a native 64-bit CPU run 32-bit code ?
- From: Maura Edeweiss Monville
- Re: [SLE] Can a native 64-bit CPU run 32-bit code ?- clarification
- From: Bob S
- Re: [SLE] Can a native 64-bit CPU run 32-bit code ?
- References:
- [SLE] Can a native 64-bit CPU run 32-bit code ?
- From: Maura Edeweiss Monville
- [SLE] Can a native 64-bit CPU run 32-bit code ?
- Prev by Date: Re: [SLE] updating to PHP5
- Next by Date: Re: [SLE] Can a native 64-bit CPU run 32-bit code ?
- Previous by thread: [SLE] Can a native 64-bit CPU run 32-bit code ?
- Next by thread: Re: [SLE] Can a native 64-bit CPU run 32-bit code ?- clarification
- Index(es):
Relevant Pages
|