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  <20122013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: First Use Of 3.14.12.2 - target builds try to produce code for host also
From: Ralph Lange <Ralph.Lange@gmx.de>
To: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Fri, 05 Oct 2012 23:14:51 +0200
On Fri Oct 05 2012 22:49:54 GMT+0200 (CEST), Duane Voy <voy@fnal.gov> wrote:
I have built 3.14.12.2 on linux-x86 host for cross development to vxWorks-ppc604_long targets.
When I do 'gmake vxWorks-ppc604_long' the make system tries to produce code for linux-x86 as well, which is doomed to failure with code referencing VxWorks headers.
This behavior is different from any that I have seen in versions <= 3.14.10.

I have been reading documentation and googling and greping, and have tried everything I can think of to make CROSS_COMPILER_TARGET_ARCHS be -just- vxWorks-ppc604_long.  All with no luck.

Hi Duane,

this behavior change has been documented in the release notes [1], see "Build system dependency change" in the section for 3.14.11.

The key is to change the Makefiles for vxWorks-only modules to build vxWorks-only stuff only for vxWorks. (Not as trivial as it sounds.)
In most cases this involves moving definitions e.g. from LIBRARY to LIBRARY_vxWorks, from PROD to PROD_vxWorks etc. - see the chapter "Build Facility" (paragraph "Makefile definitions") in the App Developers Guide.

HTH,
~Ralph

[1] http://www.aps.anl.gov/epics/base/R3-14/12-docs/RELEASE_NOTES.html

References:
First Use Of 3.14.12.2 - target builds try to produce code for host also Duane Voy

Navigate by Date:
Prev: Re: Triggered autosave on exit Ralph Lange
Next: Re: EPICS 3.15.0 incompatible make rules Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
Navigate by Thread:
Prev: First Use Of 3.14.12.2 - target builds try to produce code for host also Duane Voy
Next: areaDetector R1-8 released Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·