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  2014  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: Re: How to compile only for a target architecture
From: Kevin Peterson <kmpeters@anl.gov>
To: Ricardo Herrero <ricardo.herrero@i2a2.upm.es>, <tech-talk@aps.anl.gov>
Date: Wed, 12 Jul 2017 16:32:27 -0500
Ricardo,

If you leave CROSS_COMPILER_TARGET_ARCHS empty in the configure/CONFIG_SITE of the module you're building, it should only build for the host arch:

  CROSS_COMPILER_TARGET_ARCHS =

Kevin

On 07/12/2017 04:24 PM, Ricardo Herrero wrote:
Hello,

 I want to ask you how to compile only for one target architecture in
EPICS. In the application developer´s guide it is not clear enough . It
seems as it always compile for host and for other target architectures.
I want to compile for one target architecture, but not all of them and
not for the host architecture. I just need to compile for linux-arm in
any case from a x86_64.  How can I do that?

Thanks for your help, in case you need it I can send you the Makefiles I
´m working on.
Ricardo



Replies:
Re: How to compile only for a target architecture Ricardo Herrero
References:
How to compile only for a target architecture Ricardo Herrero

Navigate by Date:
Prev: How to compile only for a target architecture Ricardo Herrero
Next: Re: How to compile only for a target architecture Ricardo Herrero
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
Navigate by Thread:
Prev: How to compile only for a target architecture Ricardo Herrero
Next: Re: How to compile only for a target architecture Ricardo Herrero
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
ANJ, 12 Jul 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·