EPICS Home

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: Ricardo Herrero <[email protected]>
To: Kevin Peterson <[email protected]>
Cc: [email protected]
Date: Wed, 12 Jul 2017 23:39:01 +0200
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


--
Doctorando i2a2
Jefe de Area de Ingeniería de Sistemas - CEH- CEDEX

Replies:
Re: How to compile only for a target architecture Ronald L. Sluiter
References:
How to compile only for a target architecture Ricardo Herrero
Re: How to compile only for a target architecture Kevin Peterson

Navigate by Date:
Prev: Re: How to compile only for a target architecture Kevin Peterson
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 
Navigate by Thread:
Prev: Re: How to compile only for a target architecture Kevin Peterson
Next: Re: How to compile only for a target architecture Ronald L. Sluiter
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