Experimental Physics and Industrial Control System
Subject: |
Sequencer news: latest snapshot builds and runs under Windows |
From: |
Benjamin Franksen <[email protected]> |
To: |
<[email protected]> |
Date: |
Tue, 31 May 2011 22:34:23 +0200 |
Hi,
the latest snapshot I uploaded today fixes all the build problems on native
win32 (I used Windows XP running in a VM under Ubuntu and EPICS base
3.14.12.1). I have not yet installed cygwin so this platform may still have
problems.
The tests also build and run w/o errors. However, 'make runtests' sometimes
hangs in the middle of executing the validation tests; restarting it (after a
Ctrl-C) usually helps. I have not found out what exactly causes these hangups,
but I am almost certain that there is something wrong with the perl test
harness, since I never experienced them when running the test scripts manually
(i.e. 'cd test/validate/O.$(T_A); perl xxx.t').
BTW, I had to make *no* functional changes to the sequencer or compiler code
to make the test suite run through. The only things I had to change were
- many details in the build system
- replace all uses of C99 features by proper conservative C90
- add some Windows specific header includes
- adapt the test script builder
All this makes me confident that a release candidate for 2.1.0 is not too far
off.
BTW, I found a small bug in the EPICS build rules that causes errors when
using 'make -s' on (native) Windows: the definition of the ECHO variable uses
"#" (instead of the echo command) if the MAKEFLAGS contain 's', however on
native Windows "#" does not start a comment! Instead you get "error command #
not found". Using "REM" on Windows fixes this. The snapshot contains a patch
that supplies a workaround by overriding ECHO.
Cheers
Ben
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführer: Prof. Dr. Anke Rita Kaysser-Pyzalla, Prof. Dr. Dr. h.c. Wolfgang Eberhardt, Dr. Ulrich Breuer
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- Navigate by Date:
- Prev:
Re: How does EPICS increment its clock for timestamp Andrew Johnson
- Next:
EPICS on Delta Tau Power PMAC Bill Cruise
- 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: How does EPICS increment its clock for timestamp Andrew Johnson
- Next:
EPICS on Delta Tau Power PMAC Bill Cruise
- 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