Thanks Stephanie and Janet,
That worked, and it fixed our problems with the IOC.
Where do things stand in EPICS in terms of running IOCs in 64-bit mode?
It turns out I have been actually doing this without knowing it, because
I was building for linux-x86 on a 64-bit system, thinking it was
producing 32-bit binaries, when they were in fact 64-bit. Some IOCs
seem to work OK, specifically beamline ID5 at the Australian
Synchrotron.
However, a 64-bit IOC to control the Pilatus detector is failing. It
seems to be crashing in SNL code. What parts of EPICS (base 4.14.9,
asyn, SNL etc) are believed to be 64-bit safe and which are not?
Thanks,
Mark
-----Original Message-----
From: Allison, Stephanie [mailto:[email protected]]
Sent: Thursday, July 17, 2008 4:56 PM
To: Mark Rivers; [email protected]; EPICS tech-talk
Subject: RE: Building 32-bit EPICS binaries on 64-bit Linux systems
Hi Mark,
Till Straumann but these options in our 3.14.8
base/configure/os/CONFIG_SITE.linux-x86.Common:
# T.S, 2006/09/05
# add -m32 so we create 32-bit code when
# executing on 64-bit machine with EPICS_HOST_ARCH=linux-x86
ARCH_DEP_CFLAGS+=-m32
ARCH_DEP_CXXFLAGS+=-m32
ARCH_DEP_LDFLAGS+=-m32
Stephanie
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Mark Rivers
> Sent: Thursday, July 17, 2008 2:46 PM
> To: [email protected]; EPICS tech-talk
> Subject: Building 32-bit EPICS binaries on 64-bit Linux systems
>
> Folks,
>
>
>
> I want to build EPICS in 32-bit mode on a 64-bit Linux
> machine. I had assumed that all I needed to do was to define
> EPICS_HOST_ARCH to be linux-x86, rather than linux-x86_64.
> But when I do this it creates the expected directories and
> binaries, e.g. bin/linux-x86/caRepeater, etc. but the
> binaries appear to be 64-bit. Running "file" on them reports
> them at ELF 64-bit files. My IOC is crashing, and I suspect
> it is because it is built as a 64-bit application. How do I
> force it to be built as a 32-bit application? This is EPICS R3.14.9.
>
>
>
> Thanks,
>
> Mark
>
>
>
>
- Replies:
- Re: Building 32-bit EPICS binaries on 64-bit Linux systems Andrew Johnson
- References:
- RE: Building 32-bit EPICS binaries on 64-bit Linux systems Allison, Stephanie
- Navigate by Date:
- Prev:
Re: MAXv problem update EPICS record Ron Sluiter
- Next:
DMA Example Szalata, Zenon M.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Building 32-bit EPICS binaries on 64-bit Linux systems Allison, Stephanie
- Next:
Re: Building 32-bit EPICS binaries on 64-bit Linux systems Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|