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: Cross build/compilation - target only question
From: "Andrew C. Starritt" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 21 Mar 2014 03:11:59 +0000
Hi all,
 
I recently installed mingw32-gcc  mingw32-gcc-c++ (onto CentOS 6.4 x86_64) and copied the
CONFIG/CONFIG_SITE linux-x86_64.win32-x86-mingw files from base-3.15.0.1 into base-3.14.12.4
and successfully cross built base, asyn, seq and autosave, the only hassle being base including
Winver.h instead of winver.h. Okay so far so good.
 
But because the host linux-x86_64 architecture is built as well as the target win32-x86-mingw
architecture, when I tried to cross build an IOC, the linux-x86_64 part failed because it
can't find the include file "windows.h".
 
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 ;).
I'm sure I read about this in tech-talk last year but when I searched I didn't find anything.
 
Regards
 
 
Andrew C. Starritt | Principal Controls Engineer | Australian Synchrotron
p: (03) 8540 4164 | f: (03) 8540 4200
[email protected] | www.synchrotron.org.au
800 Blackburn Road, Clayton, Victoria 3168
 
 
 

Replies:
Re: Cross build/compilation - target only question Andrew Johnson

Navigate by Date:
Prev: Value of a record 'soon after' the IOC's initialization Emmanuel Mayssat
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 
Navigate by Thread:
Prev: Value of a record 'soon after' the IOC's initialization Emmanuel Mayssat
Next: Re: Cross build/compilation - target only question Andrew Johnson
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 ·