[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "Trivial Question" - 32bit vs. 64bit vs. 32/64bit



On Tue, Jun 01, 2004 at 03:37:00PM +0200, Hendrik Tews wrote:
> 
> Thanks for all the elaborated answers. Let me summarize: To run
> an application in 64-bit mode I need:
> - a kernel that is able to launch this application
> - a suitable set of shared libraries
> 
> (Similarly for a 32-bit mode application on a pure64 system.)

 If you have a single 64bit program you want to run on a system with a 64bit
kernel and a 32bit Woody user-space, for example, you could staticaly
compile the 64bit program.  (BTW, Woody would need a bi-arch modutils to be
able to load 64bit modules.  You might also want a 64bit static iptables,
etc.)

> I am interested in these points because of the following: I am
> using a hybrid application (more precisely Pvs
> (http://pvs.csl.sri.com/)) with an emacs and a Tcl/Tk frontend. I
> would like to run the application itself in 64-bit mode _without_
> installing emacs and Tcl/Tk in the chroot.

 You can run something that's inside the chroot like this:
LD_LIBRARY_PATH=/amd64/lib /amd64/lib/ld-linux-x86-64.so.2 /amd64/bin/ls
Or you could compile that one program statically, and run it outside the
chroot, as long as you have a 64bit kernel.  (don't forget to include the
IA32 compatibility layer.)

 HTH,

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC



Reply to: