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: cross-compiling v7.0.7 |
From: | Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Thu, 15 Jun 2023 10:49:45 -0500 |
Hi Pierrick, On 6/15/23 6:07 AM, Pierrick M Hanlet via Tech-talk wrote: Hopefully the fix should be to just delete that file and run 'make' again in that directory, but if you have a more complex local build process (e.g. if you're building on multiple host arch's) that might need some modifications. How were you doing the cross-builds?Something broke, or I missed new instructions in building the modules in v7.0.7 for cross-compiled platforms. I'm building for several platforms. The host build is fine, but when the cross-compiled platforms start building a new RELEASE.linux-x86_64.local is created with "EPICS_BASE = ", i.e. empty. I did not experience this with v7.0.5. Getting the build rules right for generating the modules/RELEASE.<host>.local file was tricky, and there were some changes made to them between 7.0.5 and 7.0.7: $ git log R7.0.5.. -- configure/RULES_MODULES There are some comments at the top of the RULES_MODULES file but they were mostly intended for other applications that want to adopt the submodules scheme (the motor record uses it too). - Andrew -- Complexity is free, it's Simplicity that takes work. |