1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | 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 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Only cross compile option |
From: | Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Tue, 10 May 2022 21:39:07 +0200 |
Hey Han,
yes, there is a way. I did this once too.
If I remember correctly you simply need to change the line
PROD_IOC = <name>
to
PROD_IOC_linux-arm = <name>
in your <ioc>APP/src/Makefile
HTH Florian
Hi EPICSers,
I have an IOC, I want to compile it with only target architecture, for example, linux-arm. My host is linux-x86_64. EPICS base and modules can be compiled through the standard method with Host and target well with os/CONFIG_SITE.linux-x86_64.linux-arm.
But due to the specific libs, and header files for this IOC, I want to exclude the host compilation.
Is there any way to force to compile this IOC only for target Archture?
Best,Han
--
Jeong Han Lee, Dr.rer.natStaff Scientist and EngineerLawrence Berkeley National Laboratory1 Cyclotron Road Mailstop 46R0161Berkeley, CA 94720, United StatesTel :+1-510-486-6163
Cell:+1-510-384-3868
-- Ruhr-Universität Bochum AG der Experimentalphysik I Dr. Florian Feldbauer NB 2/131 / Fach 125 Universitätsstr. 150 D-44801 Bochum Office: NB 2/134 Phone: (+49)234 / 32-23563 Fax: (+49)234 / 32-14170 https://paluma.ruhr-uni-bochum.de