diff --git a/READMEconvertingR3.14.0alpha2AppsTobeta1.html b/READMEconvertingR3.14.0alpha2AppsTobeta1.html index 63296c578..b0ff9faf1 100644 --- a/READMEconvertingR3.14.0alpha2AppsTobeta1.html +++ b/READMEconvertingR3.14.0alpha2AppsTobeta1.html @@ -9,9 +9,9 @@
This document describes how to convert a R3.14.0alpha2 vxWorks application
+
This document describes how to convert a R3.14.0alpha2 application
so that it builds with release R3.14.0beta1.
-include ../baseLIBOBJS-and, if there are no LIBOBJS definitions in the Makefile, remove +and the file baseLIBOBJS. If there are no LIBOBJS definitions in the Makefile, +also remove
example_OBJS += $(LIBOBJS)
Add the new record and dev support libraries to <name>App/src/Makefile, i.e. add the lines+and remove any references to iocLibrary, e.g. remove the lineexample_LIBS += recIoc --and remove any references to iocCoreLibrary, e.g. remove the line +
example_LIBS += softDevIoc
example_LIBS += softDevIoc +
example_LIBS += testDevIoc
example_OBJS_vxWorks += $(EPICS_BASE_BIN)/iocCoreLibrary-The order of references to base librararies is important so place recIoc -and softDevIoc before the the other base library references. +The order of references to base libraries is important so place recIoc +and softDevIoc before the the other base library references. +
If you are building on a WIN32 host add the following lines instead: +
# Use win32 object libs for registered support ++
example_LIBS_win32 += recIocObj +
example_LIBS_win32 += softDevIocObj +
example_LIBS_win32 += testDevIocObj +
example_LIBS_DEFAULT += recIoc +
example_LIBS_DEFAULT += softDevIoc +
example_LIBS_DEFAULT += testDevIoc
The meaning of LIBRARY and PROD have now changed. For vxWorks, LIBRARY now means an archive library, OBJLIB is now a combined object file -(only needed for R3.13 compatability) and PROD is now a combined object +(only needed for R3.13 compatibility) and PROD is now a combined object file with library references resolved and will have a corresponding .munch file created. Thus, in your application src Makefiles,change LIBRARY_vxWorks = <name> @@ -93,13 +104,18 @@ file created. Thus, in your application src Makefiles, In the iocBoot/ioc<name>/st.cmd files,change ld < <name>Library.munch+A SRCS definition is now required for every PROD and LIBRARY source +file to determine correct header file dependancies. This is true even if +there is only one source file for the PROD or LIBRARY . Thus, for the PROD +caExample in your src Makefile, add the line +
to ld < <name>.munchcaExample_SRCS += caExample.cregisterRecordDeviceDriver changes
-The created file registerRecordDeviceDriver.cpp is -now used for all target architectures. Thus in your application src Makefiles +The created file registerRecordDeviceDriver.cpp is now used +for all target architectures. Thus in your application src Makefileschange example_SRCS_DEFAULT += example_registerRecordDeviceDriver.cpp
to example_SRCS += example_registerRecordDeviceDriver.cpp