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  2016  2017  <20182019  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  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Application Package
From: Michael Davidsaver via Tech-talk <[email protected]>
To: "J. Lewis Muir" <[email protected]>, [email protected]
Cc: [email protected]
Date: Wed, 21 Nov 2018 09:52:02 -0800
On 11/16/18 1:12 PM, J. Lewis Muir wrote:
> (On Linux, I think "$ORIGIN" can be
> used to reference the location of the binary, so you could potentially
> make the RPATH relative to this thus eliminating the working directory
> constraint.)

FYI, I've been working on a way to automate this for some time, and now
think I have a recipe which works.  This allows a built directory tree
to later be moved and used from a different location.

https://code.launchpad.net/~epics-core/epics-base/+git/make/+merge/359132

Also, it also adds epicsGetExecDir() which, by way of a zoo of OS specific
mechanisms, gives the directory containing the executable which started the
current process.  This enables eg. the softIoc executable to find softIoc.dbd
regardless of $PWD and without a compiled in $(FINAL_LOCATION).

References:
EPICS Application Package Vikram Bhagat via Tech-talk
Re: EPICS Application Package Ralph Lange
Re: EPICS Application Package Bo Jakobsen
Re: EPICS Application Package Ralph Lange
Re: EPICS Application Package Benjamin Franksen
Re: EPICS Application Package J. Lewis Muir

Navigate by Date:
Prev: RE: ADSimDetector and ADURL - runtime issues with FFT and HDF5 Mark Rivers via Tech-talk
Next: Packaging EPICS and support modules as RPM Abdalla Ahmad via Tech-talk
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Application Package J. Lewis Muir
Next: Re: EPICS Application Package Rod Nussbaumer
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 22 Nov 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·