Experimental Physics and Industrial Control System
|
The -D option might still be needed to load a private breakpoint table for example (although I believe those can also be loaded like a database file using the -d option). The -D flag does work for me in a recent development version though, so I agree that it’s
fixed already.
- Andrew
On
5/6/20 7:22 AM, Carsten Winkler via Tech-talk wrote:
Hi,
I successfully compiled Epics 7.0.3.1 for Windows 7 x64. When I start softIoc.exe without dbd-parameter (-D), everything is fine. But when I specify the path for the same dbd file, I get an illegal option error.
(I wanna move the dbd file for a client application.)
What do I wrong?
Nothing.
The bad news is that this was a mistake with 7.0.3.1
which
has since been fixed. The good news is that -D is no longer needed
to
find softIoc.dbd in its default location ../../dbd/softIoc.dbd
relative
to softIoc.exe. So in your example you should be able to omit '-D'.
https://epics.anl.gov/tech-talk/2019/msg01822.php
Best regards
Carsten
C:\>"C:\base-7.0.3.1\bin\windows-x64\softIoc.exe" -D "C:\base-7.0.3.1\dbd\softIoc.dbd" -d "\DemoIOC\db\demo.db"
*C:\base-7.0.3.1\bin\windows-x64\softIoc.exe: illegal option -- D*
Usage: C:\base-7.0.3.1\bin\windows-x64\softIoc.exe [-D softIoc.dbd] [-h] [-S] [-s] [-a ascf]
[-m macro=value,macro2=value2] [-d file.db]
[-x prefix] [st.cmd]
-D <dbd> If used, must come first. Specify the path to the softIoc.dbdfile. The compile-time install location is saved in the binary as a default.
-h Print this mesage and exit.
-S Prevents an interactive shell being started.
-s Previously caused a shell to be started. Now accepted and ignored.
-a <acf> Access Security configuration file. Macro substitution is
performed.
-m <MAC>=<value>,... Set/replace macro definitions used by subsequent -d and
-a.
-d <db> Load records from file (dbLoadRecords). Macro substitution is
performed.
-x <prefix> Load softIocExit.db. Provides a record "<prefix>:exit".
Put 0 to exit with success, or non-zero to exit with an error.
Any number of -m and -d arguments can be interspersed; the macros are applied
to the following .db files. Each later -m option causes earlier macros to be
discarded.
A st.cmd file is optional. If any databases were loaded the st.cmd file will
be run *after* iocInit. To perform iocsh commands before iocInit, all database
loading must be performed by the script itself, or by the user from the
interactive IOC shell.
Compiled-in path to softIoc.dbd is:
C:\base-7.0.3.1\bin\windows-x64\../../dbd/softIoc.dbd
Unknown argument: -?
C:\>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
--
Complexity comes for free, simplicity you have to work for.
|
- References:
- Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Carsten Winkler via Tech-talk
- Re: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Michael Davidsaver via Tech-talk
- Next:
Re: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Carsten Winkler 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
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Michael Davidsaver via Tech-talk
- Next:
Re: Epics 7.0.3.1 Windows x64 softIOC - illegal dbd parameter Carsten Winkler 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
2018
2019
<2020>
2021
2022
2023
2024
|
ANJ, 07 May 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|