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  2014  2015  2016  <20172018  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  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to compile only for a target architecture
From: "Ronald L. Sluiter" <[email protected]>
To: Ricardo Herrero <[email protected]>
Cc: [email protected]
Date: Wed, 12 Jul 2017 16:44:03 -0500
In the past you had to build the EPICS_HOST_ARCH because there were host tools built at the beginning that were needed later on in the build. I don't know if that is still the case with the more recent version of EPICS base.
What EPICS base version are you trying to build without the host architecture?

Ron

On 07/12/2017 04:39 PM, Ricardo Herrero wrote:
Thanks for your quick reply, Kevin.

However what I´m looking for is to compile only for a target_architecture and not for the host. For example Host: x86_64 Target: Linux-arm. I just want to compile for linux-arm from my x86 host.

Regards, Ricardo

El 2017-07-12 23:32, Kevin Peterson escribió:
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 Andrew Johnson
References:
How to compile only for a target architecture Ricardo Herrero
Re: How to compile only for a target architecture Kevin Peterson
Re: How to compile only for a target architecture Ricardo Herrero

Navigate by Date:
Prev: Re: How to compile only for a target architecture Andrew Johnson
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  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to compile only for a target architecture Ricardo Herrero
Next: Re: How to compile only for a target architecture 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  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·