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  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: make puzzle
From: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: Andrew Johnson <anj at aps.anl.gov>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Thu, 5 Nov 2020 23:47:18 -0800
Hi Andrew,

In configure/os/CONFIG.Common.UnixCommon

> LDLIBS_STATIC_YES = LDLIBS
> LDLIBS_SHARED_NO = LDLIBS
> PROD_LDLIBS += $($(firstword $(LDLIBS_STATIC_$(STATIC_BUILD)) \
>                $(LDLIBS_SHARED_$(SHARED_LIBRARIES))))

I think I've broken my brain tonight trying to figure out what all
is going on here.

I think I understand what is going on here in pseudo-code as:

> if STATIC_BUILD==YES || SHARED_LIBRARIES==NO
> PROD_LDLIBS += $(LDLIBS)
> endif

Does this seem a correct translation?

Why is SHARED_LIBRARIES being tested?  It seems redundant.
STATIC_BUILD=NO implies SHARED_LIBRARIES=YES





cf. https://github.com/epics-base/epics-base/blob/8fd36d8eef3420b42e7936e949928a6b43df7e15/configure/os/CONFIG.Common.UnixCommon#L81-L84

Also replicated in configure/os/CONFIG.win32-x86.win32-x86

Replies:
Re: make puzzle Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Build failed: epics-base base-integration-36 AppVeyor via Core-talk
Next: epics-7.0 - Build # 268 - Still unstable! APS Jenkins via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Build failed: epics-base base-integration-36 AppVeyor via Core-talk
Next: Re: make puzzle Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 06 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·