Re: [SLE] Can a native 64-bit CPU run 32-bit code ?



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



Relevant Pages

  • Re: Null MDE / MDB failure
    ... Yes we do know about the auto correct - all machines have this switched ... Then open the database in the older version and compile ... > differences on the machines that do fail. ... We use Access 2k to get to the MDE ...
    (microsoft.public.access.forms)
  • Re: cannot install 64bit Net SDK 2.0 Beta
    ... You'll need to talk to your OEM about obtaining XP x64. ... Because x64 machines contain the 32-bit instruction set ... The thing you have to ask yourself is why you need to compile for 64-bit? ... handful of assemblies are compiled for one platform or another. ...
    (microsoft.public.dotnet.framework)
  • Re: what kind of computer for programmer ?
    ... Yes, as in, I have all of those machines. ... Solaris can be run on X86, but it does not like to dual boot ... compile time is a factor. ... Unix is a better environment to write programs to, ...
    (comp.programming)
  • Re: Perl 5.8.4 -> AIX Install issues
    ... I'm still having compile problems, and I'm starting to get really ... We have a few 5.1 boxes ... Perl 5.8.4 compiles just fine on our 4.3.3 machines, ... I've tried rolling back the GCC ...
    (comp.unix.aix)
  • Re: Future of Delphi 7.x - need official word from Borland
    ... I can't really trust that applications that I compile with ... > machines that don't have .NET installed. ... that D2005 Win32 applications run properly on Win32 machines that don't ...
    (borland.public.delphi.non-technical)