EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: STATIC_BUILD=NO howto ?
From: Ralph Lange via Core-talk <core-talk at aps.anl.gov>
To: EPICS Core Talk <core-talk at aps.anl.gov>
Date: Wed, 14 Jun 2023 11:08:28 +0200

  • Btw. I should have mentioned before: You only need to add the *_DIR line if the library is not in one of the system paths. Libraries in system paths are always found - adding them to *_LIBS is enough.

Actually if the library is in the system path then it needs to be added to SYS_LIBS, not _LIBS.


That is correct, of course. My bad.

Note that for _LIBS, Make does the linker line extensions based on wildcard expressions in the file system (see RULES_TARGET in Base), which means that the linker line only gets extended correctly if the library with the specified name is found in the specified place. Having a typo in the _DIRS setting (or the library in a different location, like in .../lib64 instead of .../lib) may have that library not show up correctly in the linker command.

Libraries in _SYS_LIBS are added to the linker line without Make checking for their existence, assuming the linker will find them.

Glad you have it working.
~Ralph


References:
STATIC_BUILD=NO howto ? Torsten Bögershausen via Core-talk
Re: STATIC_BUILD=NO howto ? Ralph Lange via Core-talk
Re: STATIC_BUILD=NO howto ? Torsten Bögershausen via Core-talk
Re: STATIC_BUILD=NO howto ? Ralph Lange via Core-talk
Re: STATIC_BUILD=NO howto ? Torsten Bögershausen via Core-talk
Re: STATIC_BUILD=NO howto ? Ralph Lange via Core-talk
Re: STATIC_BUILD=NO howto ? Mark Rivers via Core-talk
Re: STATIC_BUILD=NO howto ? Torsten Bögershausen via Core-talk

Navigate by Date:
Prev: Re: STATIC_BUILD=NO howto ? Torsten Bögershausen via Core-talk
Next: Build failed: epics-base base-integration-964 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: STATIC_BUILD=NO howto ? Torsten Bögershausen via Core-talk
Next: Build failed: epics-base base-integration-964 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 14 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·