This problem seems to have been discussed about a year ago,
(http://www.aps.anl.gov/epics/tech-talk/2010/msg01432.php) but I still can't solve it.
I have a linux-x86_64 host and a linux-x86 target. I want to build IOC's and libraries for the
target only, not for the host.
As mentioned below, both my host and target have the same OS class, so I can't use the
PROD_IOC_<osclass> to differentiate them.
I tried the BUILD_FOR_HOST_ARCH set to the empty string as suggested below. I set that
variable in the IOC's '<TOP>/configure/CONFIG_SITE'. But that still built for the host as
well as the target.
Any suggestions as to what I'm doing wrong, or what I might try next are greatly appreciated.
Thanks
Mark
________________________________________________________
Subject:Re: Configuring an IOC to -not- build for host arch
From:Bruce Hill <[email protected]>
To:[email protected]
Date:Sun, 19 Sep 2010 21:27:28 -0700
Hi Angus,
You can also use the technique Mark mentions for your IOC build:
PROD_IOC_RTEMS = <appname>
That method, however, just restricts that library or product to a single OS class.
If you have more than one supported architecture for that OS, both will build.
For example, we build with host arch linux-x86_64, but cross compile for linux-x86
as well as RTEMS. Using PROD_IOC_Linux still builds both linux targets, so
to build just the 32 bit IOC, I set the following in configure/CONFIG_SITE:
CROSS_COMPILER_TARGET_ARCHS = linux-x86
BUILD_FOR_HOST_ARCH=
Note that you can't just set BUILD_FOR_HOST_ARCH=0, it must be an empty string.
- Bruce
- Replies:
- Re: Configuring an IOC to -not- build for host arch Andrew Johnson
- Navigate by Date:
- Prev:
EPICS Collaboration Meeting Fall 2011 Dirk Zimoch
- Next:
Re: Advantech USB-4700 Series Pete R. Jemian
- 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:
EPICS Collaboration Meeting Fall 2011 Dirk Zimoch
- Next:
Re: Configuring an IOC to -not- build for host arch 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
|