EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Linking question
From: Guy Jennings <[email protected]>
To: Eric Boucher <[email protected]>, Tech-Talk <[email protected]>
Date: Thu, 05 Jun 2003 10:49:46 -0500
On 6/5/03 3:02 AM, "Eric Boucher" <[email protected]> wrote:

> Hi guys,
> 
> I know that my question is not really related to epics, but maybe some
> experts will have an answer.
> I'm trying to build a shared library which uses libca.so and libCom.so.
> My question is:
> is there a way to have all symbols from this two "outside" libraries
> included in the library I'm trying to build?
> 
> Thanks for your help,
> 
> Eric
> 
> 

If you are trying to produce a statically linked executable  you could link
against libca.a instead of libca.so.  If you are trying to produce a shared
library you could still do this, I think, but you would have to check that
the code had been compiled as position-independent code (look for a -fPIC)
in the gcc & g++ commands.  This might vary from platform to platform and
epics version to epics version.  It appears to be true for R3.14.1 on Linux.

Regards,

Guy Jennings


References:
Linking question Eric Boucher

Navigate by Date:
Prev: RE: TIME field Allison, Stephanie
Next: RE: Time waits for ca-pend-event on Solaris/SPARC Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Linking question Eric Boucher
Next: TIME field Hunt Steven
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·