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: RE: referencing libraries
From: Mark Rivers <[email protected]>
To: "'D Peter Siddons'" <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 19 Feb 2016 21:27:30 +0000
Hi Pete,

In general using <product>_SYS_LIBS +=XXXX is correct, as you said.

But in the special case of readline usually it is included via the following lines in EPICS base/configure/os/CONFIG_SITE.Common.linux-x86_64

***********************************************************
# Depending on your version of Linux you'll want one of the following
# lines to enable command-line editing and history in iocsh.  If you're
# not sure which, start with the top one and work downwards until the
# build doesn't fail to link the readline library.  If none of them work,
# comment them all out to build without readline support.

# No other libraries needed (recent Fedora, Ubuntu etc.):
COMMANDLINE_LIBRARY = READLINE

# Needs -lncurses (RHEL 5 etc.):
#COMMANDLINE_LIBRARY = READLINE_NCURSES

# Needs -lcurses (older versions)
#COMMANDLINE_LIBRARY = READLINE_CURSES
***********************************************************

Mark


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of D Peter Siddons
Sent: Friday, February 19, 2016 3:11 PM
To: [email protected]
Subject: Re: referencing libraries

OK, forget it :) The magic words are:

<product>_SYS_LIBS += readline

Pete.


On 02/19/2016 04:05 PM, D Peter Siddons wrote:
> I'm building an IOC, and I want it to include the operating system 
> libreadline (which it doesn't by default). How do I indicate that in 
> the application Makefile?
> Pete.
>

-- 
D. Peter Siddons
Detector Development Group Leader
Bldg. 535B
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973

email: [email protected]
Phone: (631) 344-2738



References:
referencing libraries D Peter Siddons
Re: referencing libraries D Peter Siddons

Navigate by Date:
Prev: Re: referencing libraries D Peter Siddons
Next: Problem when building debian package IOC Wang, Lin
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: referencing libraries D Peter Siddons
Next: Re: referencing libraries Konrad, Martin
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 ·