Hi, Dirk.
Thanks, that did the trick. I replaced PROD_HOST with PROD_DEFAULT and
built everything that way.
For target architectures that are Linux, it feels as if this should be
the default. Without having explored this very deeply, I wonder whether
the properties of $EPIC_HOST_ARCH shouldn't be applied to all Linux
target architectures. Is anyone using Linux targets in a way that this
would not make sense?
--- rod.
On 11/22/2012 12:39 AM, Dirk Zimoch wrote:
> Hello Rod,
>
> In src/ca/Makefile, you find caRepeater in PROD_HOST. Thus it is not
> made for cross builds. Try to take it out and instead set
> PROD_DEFAULT = caRepeater
> PROD_vxWorks = -nil-
> This should build the caRepeater for all non-vxWorks architectures, not
> only for the host architecture.
>
> Dirk
>
>
> On 21.11.2012 18:57, Rod Nussbaumer wrote:
>> Hi all.
>>
>> Did I do something wrong?
>>
>> My $EPICS_HOST_ARCH is linux-x86. I've added to
>> configure/os/CONFIG_SITE.linux-x86.Common the line:
>>
>> CROSS_COMPILER_TARGET_ARCHS = linux-arm
>>
>> In configure/os/CONFIG_SITE.linux-x86.linux-arm, I've set $GNU_DIR&
>> $GNU_TARGET to identify the name and location of my cross toolchain.
>>
>> The build completes normally, and in bin/linux-arm I see a small number
>> of channel access tools, as well as a script to launch caRepeater, but
>> no caRepeater binaries. The tools built for the cross-compiled
>> architecture seem to work normally. My target architecture is a full-on
>> Linux host, which may run multiple IOC applications, and should be using
>> caRepeater.
>>
>> Thanks.
>>
>> Rod Nussbaumer
>> ISAC Controls, TRIUMF
>> Vancouver, Canada
>>
>
- References:
- caRepeater object code not cross-compiled in R3.14.12.2 Rod Nussbaumer
- Re: caRepeater object code not cross-compiled in R3.14.12.2 Dirk Zimoch
- Navigate by Date:
- Prev:
Re: 答复: Get a time difference in EPICS database Tim Mooney
- Next:
3.14 v.s. 3.15 vs. v4 Richard Farnsworth
- 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: caRepeater object code not cross-compiled in R3.14.12.2 Dirk Zimoch
- Next:
Re: caRepeater object code not cross-compiled in R3.14.12.2 Jack Smith
- 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
|