EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Building a self-contained shareable library
From: Mark Rivers <[email protected]>
To: "'Janet Anderson'" <[email protected]>
Cc: EPICS tech talk <[email protected]>
Date: Wed, 26 Sep 2012 21:24:08 +0000
Hi Janet,

I would like to build an EPICS shareable library on Linux that is self-contained, i.e. it does not depend on any other shareable library.  For example, with IDL I would like libezcaIDL.so to not depend on libca.so, libCom.so, libezca.so, and libEzcaScan.so.

One way to do this is to set SHARED_LIBRARIES=NO in base/os/CONFIG_SITE.linux...  Then EPICS will only build .a files for everything.  In ezca/src/Makefile I can set SHARED_LIBRARIES=YES.  That will force ezcaIDL.so to not depend on other .so files, since there aren't any.

But I am looking for a cleaner solution.  When EPICS is built with SHARED_LIBRARIES=YES it actually builds both .a and .so files for every library.  I would like a way to specify that ezcaIDL should be built as a .so file, but it should be linked with .a files for everything it depends on.

Is there a way to do this?

Thanks,
Mark




Replies:
Re: Building a self-contained shareable library Andrew Johnson

Navigate by Date:
Prev: Re: Motor record -- URIP with soft limits Ron Sluiter
Next: Re: Building a self-contained shareable library Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Motor record -- URIP with soft limits Ron Sluiter
Next: Re: Building a self-contained shareable library Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·