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: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Rivers, Mark L." <rivers at cars.uchicago.edu>, 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:40:08 +0000 |
IIRC STATIC_BUILD=YES/NO controls whether the linker should make use of lib*.so files when generating executables, but I don't remember if it affects generating libraries. I'm not sure now which solution William
needs, but one or the other should work. There are also ways to pass sets of flags and lists of libraries from one module to another, so you don't have to explicitly add them to the downstream app. You put those flags into one or more variables in
a CONFIG_module_MODULE file which the upstream module publishes in its $TOP/cfg directory, then the downstream module uses those variables. That file will be included automatically in all downstream builds where the RELEASE file points to that module.
The built-in pvData and pvAccess modules which are part of Base use that technique. - Andrew |