EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine
From: "Cusick, Martin-Lee" <[email protected]>
To: "Wesley Moore" <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 10 Dec 2015 08:09:00 -0500
UNRESTRICTED  /  ILLIMITÉE

Thank you gentlemen:

Michael: Thanks for the clarity

Andrew: Thanks for the options, and I love the tag line.

Wesley: Thanks for helping out, that is how I set my CONFIG_SITE file, but it is not completely building the x86 version.

So to keep with the TMTOWTDI, I set my EPICS_HOST_ARCH variable to use `EpicsHostArch` in .bashrc because all three system types are running Debian and logon as a specific user.

So to provide Mark with what he needs I'll set my host arch to be x86 and build and post the results sometime today.

Regards,

Lee

-----Original Message-----
From: Wesley Moore [mailto:[email protected]] 
Sent: December-09-15 4:59 PM
To: Cusick, Martin-Lee
Cc: Andrew Johnson; Michael Davidsaver; Mark Rivers; EPICS tech-talk
Subject: Re: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine

As Andrew said, TMTOWTDI:

Use base/configure/CONFIG_SITE to set everything.

CROSS_COMPILER_TARGET_ARCHS=linux-x86 linux-arm-rpi
CROSS_COMPILER_HOST_ARCHS=linux-x86_64

Then run make on your 64-bit machine and all 3 will build.  But, if you set your environmental variable EPICS_HOST_ARCH to linux-x86, it will only build linux-x86.  

Wesley

> On Dec 9, 2015, at 4:54 PM, Andrew Johnson <[email protected]> wrote:
> 
> On 12/09/2015 03:40 PM, Michael Davidsaver wrote:
>> On 12/09/2015 04:27 PM, Cusick, Martin-Lee wrote:
>>> So I just need some clarity on where you want the EPICS_HOST_ARCH variable set.
>> 
>> The simplest thing to do is not to set it at all.  This used to be a
>> requirement and the build would fail without it.  With recent Base
>> releases this variable will be automatically set by Make each time it
>> runs if it is not set in the process environment.
> 
> This approach is fine for just building EPICS code, but there may be
> other reasons why you might want to set it; in our case the same system
> script that sets the variable also sets the user's PATH to include the
> /usr/local/epics/extensions/bin/$EPICS_HOST_ARCH directory (plus some
> other similar paths) so it needs to determine what the architecture is
> at login time anyway. Michael's Debian installations probably put all of
> their EPICS executables into /usr/bin or /usr/local/bin anyway so his
> users don't normally need the variable set, whereas ours do and we set
> it in a script that gets sourced through /etc/profile.d or the equivalent.
> 
> I think my main point is There's More Than One Way To Do It (TMTOWTDI)
> so you'll have to work out for yourself what makes the most sense in
> your circumstance.
> 
> - Andrew
> 
> -- 
> Light thinks it travels faster than anything but it is wrong.
> No matter how fast light travels, it finds the darkness has
> always got there first, and is waiting for it.
>    -- Terry Pratchett, Reaper Man



References:
EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Cusick, Martin-Lee
RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Mark Rivers
RE: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Cusick, Martin-Lee
RE: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Mark Rivers
RE: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Cusick, Martin-Lee
Re: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Michael Davidsaver
Re: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Andrew Johnson
Re: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Wesley Moore

Navigate by Date:
Prev: Re: Request for information from institutions with Archiver Appliance deployments Konrad, Martin
Next: RE: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Cusick, Martin-Lee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Wesley Moore
Next: RE: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Cusick, Martin-Lee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·