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
<2003>
2004
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
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|