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  <20152016  2017  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Path separator in EPICS_DB_INCLUDE_PATH
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Wed, 9 Dec 2015 10:08:06 +0100
Since you probably need to set $(ADCORE) and $(QUADEM) differently for Linux and Windows anyway, what about $(SEP)?

epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(ADCORE)/db$(SEP)$(QUADEM)/db")

or $(:)
epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(ADCORE)/db$(:)$(QUADEM)/db")


On 09.12.2015 01:58, Mark Rivers wrote:
Is there an OS-independent path separator available for use when setting
EPICS_DB_INCLUDE_PATH?

I have this line in my startup script:

epicsEnvSet("EPICS_DB_INCLUDE_PATH", "$(ADCORE)/db:$(QUADEM)/db")

I used a colon as the separator. This works on Linux and VxWorks.
However, it does not work on Windows.  I then changed the colon to a
semicolon.  That works on Windows but not on Linux.

There is no discussion of this in the EPICS Application Developer’s Guide.

Thanks,

Mark


References:
Path separator in EPICS_DB_INCLUDE_PATH Mark Rivers

Navigate by Date:
Prev: Re: Path separator in EPICS_DB_INCLUDE_PATH Dirk Zimoch
Next: Re: Proposed change to asyn drvAsynIPPort for UDP sockets Henrique Almeida
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Path separator in EPICS_DB_INCLUDE_PATH Dirk Zimoch
Next: Request for information from institutions with Archiver Appliance deployments michael.kenning
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·