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
- Replies:
- RE: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Cusick, Martin-Lee
- 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
- Navigate by Date:
- Prev:
Re: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Andrew Johnson
- Next:
Re: Request for information from institutions with Archiver Appliance deployments Konrad, Martin
- 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: [External] RE: EPICS BASE-3.14.12.3 32-bit Binaries on 64-bit host Machine Andrew Johnson
- 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
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|