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: epics build system question again - build order |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Johnson, Andrew N." <anj at anl.gov>, William Kirstaedter <kirstaedter at fhi-berlin.mpg.de>, Ralph Lange <ralph.lange at gmx.de>, EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Mon, 10 Jun 2024 18:37:24 +0000 |
Sorry, Andrew is right, to build the support library statically only use SHARED_LIBRARIES=NO. STATIC_BUILD=YES would be used in the IOC application Makefile to tell it to link with static support libraries, so the executable does not depend on any EPICS shareable libraries. Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Johnson, Andrew N. via Tech-talk Hi William, If you edit the Makefile which creates the library and set SHARED_LIBRARIES=NO that will tell the build system to not generate any lib*.so files when building that library. The IOC-generating app will still
need to link with the shared libraries from upstream (snmp etc.), but it sounds like that would work for you. - Andrew |