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  <20142015  2016  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Cross build/compilation - target only question
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Fri, 21 Mar 2014 10:40:13 -0500
Hi Andrew,

On 03/20/2014 10:11 PM, Andrew C. Starritt wrote:
> So my question is this: When I build an IOC, is there any easy way to
> only do the cross
> compilation and skip the host build? (I'm not worried about the base
> host build - it works ;).

You can't stop the build from compiling for the host architecture, but
there is another way to achieve the effect you want. You have to adjust
your Makefile so it only asks for Windows-only code to be built for the
Windows targets. That is easy to do, instead of doing
    PROD += WindowsProg
you should use
    PROD_WIN32 += WindowsProg

Note that WIN32 is the EPICS OSCLASS value for Windows targets. Similar
suffixes work on other variables such as SRCS, INC, LIBRARY etc. This is
all documented in the Application Developers Guide chapter 4.
http://www.aps.anl.gov/epics/base/R3-14/12-docs/AppDevGuide/node5.html
(do a search within that page for _<osclass> to find all the possible
OS-specific variables you can use).

HTH,

- Andrew
-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

References:
Cross build/compilation - target only question Andrew C. Starritt

Navigate by Date:
Prev: RE: CSS BOY and 16-bit Images Gabriele Salvato
Next: RE: using C# dll's Roehrig, Christian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Cross build/compilation - target only question Andrew C. Starritt
Next: [no subject] Azra Jabeen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·