Hi again Stefen,
On 08/12/2016 12:37 AM, Stefen Paul wrote:
> Is there a way to include device support globally (at the EPICS base
> level) so that I do not need to included it every time at the individual
> application level and the support is automatically available to all the
> subsequently created applications made using makeBaseApp.
There are several ways you could do this.
1. The simplest way might be to add your device support to Base itself,
but I wouldn't really recommend that as you then have to repeat the
process every time you want to install a new version of Base.
2. The standard way to provide common device support types is to build
them as a support module which all your IOC applications build against.
The module creates a library with its compiled device support C files
in, and also provides the related DBD files. IOC applications then point
to this module in their configure/RELEASE file, and in their
src/Makefile they specify that the support DBD file be included in the
IOC's DBD file, and that the IOC binary be linked against the support
library. See almost any available support module for examples on how to
do this.
3. If you want to simplify method 2 above even further you can provide
your own template(s) for the makeBaseApp.pl script to use which already
have the module integrated (i.e. the above steps have already been
done). This is less commonly done and I don't think we have written
instructions on how to actually do it, but the functionality is there if
you want it (ask for help on tech-talk if you want to try this).
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- References:
- Multiple device support for a record type Stefen Paul
- Re: Multiple device support for a record type Ralph Lange
- Re: Multiple device support for a record type Stefen Paul
- Navigate by Date:
- Prev:
RE: building EPICS base-13.15.4 on Windows 10 Lee, William R. (LARC-D304)[Jacobs Technology, Inc.]
- Next:
Re: Is there any support for EPICS for IronPython (or anyone working on it)? Matt Newville
- 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:
Re: Multiple device support for a record type Stefen Paul
- Next:
Questions about Data browser in CSS lzf neu
- 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
|