Re: Aclic : option for compilation in 32 bits

From: Konstantin Olchanski <olchansk_at_triumf.ca>
Date: Wed, 4 Aug 2010 11:59:43 -0700


On Mon, Aug 02, 2010 at 05:58:42PM +0200, Marc Escalier wrote:
>
> i use a program in compiled mode which needs to be in 32 bits. [because
> of 32-bit-only external libraries]
>

Obviously to use your 32-bit external libraries, you have to use 32-bit ROOT.

To build 32-bit ROOT on your 64-bit Linux, do "setarch i386", then "./configure linux; make", stop the build after a few minutes and use "file" to check that indeed it is building 32-bit stuff. This type of cross-compilation was problematic in the past, but works okey in recent versions of ROOT.

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada
Received on Wed Aug 04 2010 - 20:59:47 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 04 2010 - 23:50:01 CEST