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  2012  2013  2014  2015  <20162017  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  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Including libraries in subroutines
From: Stephen Molloy <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 27 Jun 2016 21:53:36 +0000
Hi,
Let me apologise in advance for a very basic question.

I have some C code that I would like to convert to a subroutine record.  I normally build the executable with g++ using a  -lwiringPi flag, but I don’t know the correct way to do this in order to compile the EPICS subroutine.  Is there a standard place I should put the library, or is there some change I need to make to the Makefile (and, if so, which Makefile?) to get this to work?

Steve


Replies:
Re: Including libraries in subroutines Andrew Johnson
Re: Including libraries in subroutines Stephen Molloy

Navigate by Date:
Prev: RE: Call to assert failed - EPICS Mark Rivers
Next: Re: Including libraries in subroutines Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Call to assert failed - EPICS Pedro Mantovani Antunes
Next: Re: Including libraries in subroutines Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·