To build any examples; - in /configure/RELEASE: EPICS_BASE and MOTOR must be defined. - in /Makefile: the following two lines must be uncommented; #DIRS := $(DIRS) $(filter-out $(DIRS), motorExApp) #DIRS := $(DIRS) $(filter-out $(DIRS), iocBoot) To build this simulation example; - in /configure/RELEASE: ASYN must be defined. - in /motorExApp/Makefile: #DIRS += WithMPF must be uncommented. - in /motorExApp/WithMPF/Makefile: uncomment both, #!WithMPF_LIBS += motorSimSupport and, #!WithMPFVx_LIBS += motorSimSupport - in both /motorExApp/WithMPF/WithMPFInclude.dbd, and in /motorExApp/WithMPF/WithMPFVxInclude.dbd uncomment, #include "motorSimSupport.dbd" - in /iocBoot/iocSim/Makefile set the target architecture Finally, cd ; gnumake clean uninstall; gnumake To run this simulation example on a Unix OS; - Set the EPICS_HOST_ARCH environment variable correctly. - Edit the st.cmd.unix file for either sun or linux. - Start the ioc from this directory by executing the following command. ../../bin/${EPICS_HOST_ARCH}/WithMPF st.cmd.unix