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 | 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: make puzzle |
From: | "Johnson, Andrew N. via Core-talk" <core-talk at aps.anl.gov> |
To: | Michael Davidsaver <mdavidsaver at gmail.com> |
Cc: | EPICS core-talk <core-talk at aps.anl.gov> |
Date: | Mon, 9 Nov 2020 17:50:30 +0000 |
Note that on macOS (Darwin) you can’t link executables statically at all, Apple don’t provide some necessary file(s) such as crt.o for that, so setting STATIC_BUILD=YES always fails. The closest you can get to an application built statically is thus to
set SHARED_LIBRARIES=NO which at least pulls all of the EPICS code into the final executables.
Probably true, that was just the first reason that came to mind; there are others for why one might want to avoid building a shared library.
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|