Argonne National Laboratory

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  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Quality of the C code generated by the EPICS state notation compiler.
From: Johnny Tang <tang@cebaf.gov>
To: S.Beard@roe.ac.uk (Steven M Beard)
Cc: tech-talk@aps.anl.gov
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: tang@cebaf.gov
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 
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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·