EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: 3.14 build system doesn't cope with hyphens in IOC names
From: "Denison, PN \(Peter\)" <[email protected]>
To: "Ernest L. Williams Jr." <[email protected]>
Cc: "EPICS tech-talk" <[email protected]>
Date: Thu, 1 Sep 2005 14:29:19 +0100
> -----Original Message-----
> From: Ernest L. Williams Jr. [mailto:[email protected]] 
> Subject: Re: 3.14 build system doesn't cope with hyphens in IOC names
> 
> We use hyphens in our IOC names under EPICS R3.14.7.
> I don't remember making any modifications to support this.
> 
> For example,
> 
> ==============================================================
> 
> [williams@lion test]$ makeBaseApp.pl -t example example 
> [williams@lion test]$ makeBaseApp.pl -i -t example my-new-ioc 
> The following target architectures are available in base:
>     vxWorks-mv2100_v6
>     vxWorks-mv5100_v6
>     vxWorks-ppc603_T2-2
>     vxWorks-ppc603_long
>     vxWorks-ppc603
>     linux-x86
>     vxWorks-ppc604_T2-2
> What architecture do you want to use? vxWorks-ppc603 
> [williams@lion test]$ ls configure/  exampleApp/  iocBoot/  Makefile 
> [williams@lion test]$ ls  iocBoot/ iocmy-new-ioc/  Makefile
nfsCommands 
> ==============================================================
> 
> Works perfect.

Sorry - I wasn't clear enough in my original explanation of the problem.
It is in the substitution of "APPNAME" that problems occur with hyphens.
In your example, the appname was "example", which doesn't contain
hyphens (so no problem) and you'd need to modify the st.cmd file by hand
to change to example_registerRecordDeviceDriver from
my-new-ioc_registerRecordDeviceDriver, also avoiding the problem.

If you use the same name for the app and the ioc, both with a hyphen in,
you'll see the problem.

Peter Denison, Senior Software Engineer
Diamond Light Source Ltd., Diamond House, Chilton, Didcot, Oxon, OX11
0DE
Tel: +44 1235 778511


Replies:
RE: 3.14 build system doesn't cope with hyphens in IOC names Ernest L. Williams Jr.

Navigate by Date:
Prev: Re: 3.14 build system doesn't cope with hyphens in IOC names Ernest L. Williams Jr.
Next: RE: 3.14 build system doesn't cope with hyphens in IOC names Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: 3.14 build system doesn't cope with hyphens in IOC names Ernest L. Williams Jr.
Next: RE: 3.14 build system doesn't cope with hyphens in IOC names Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024