EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  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  Index 1994  1995  <19961997  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 
<== Date ==> <== Thread ==>

Subject: Re: Quality of the C code generated by the EPICS state notation compiler.
From: Johnny Tang <[email protected]>
To: [email protected] (Steven M Beard)
Cc: [email protected]
Date: Thu, 20 Jun 96 8:16:27 EDT
===========================================
This mail is made of the recycled electrons
===========================================
Mailer: Elm [revision: 70.85]


Make sure that in your RULES.Vx file, the .st file
has been cpp preprossed before run snc compiler.

Then you don't not escape the # define statements.

...
#state notation language rule
%.c: ../%.st
        @echo "preprocessing $*.st"
        @$(RM) $*.i
        $(CPP) $(CPPFLAGS) $< $*.i
        @echo "converting $*.i"
        @$(RM) $@
        $(SNC) $(TARGET_SNCFLAGS) $(SNCFLAGS) $*.i

...


Hope it helps.


Johnny


--
=============================================================
Johnny Tang     Voice: (804)249-7239  E-Mail: [email protected]
Continuous Electron Beam Accelerator Facility
12000 Jefferson Avenue, MS 85A
Newport News, Virginia 23606
=============================================================


References:
Quality of the C code generated by the EPICS state notation compiler. Steven M Beard

Navigate by Date:
Prev: Quality of the C code generated by the EPICS state notation compiler. Steven M Beard
Next: EPICS_IOC_LOG_FILE_COMMAND Jeff Hill
Index: 1994  1995  <19961997  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: Quality of the C code generated by the EPICS state notation compiler. Steven M Beard
Next: EPICS_IOC_LOG_FILE_COMMAND Jeff Hill
Index: 1994  1995  <19961997  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