From 2cb8b73a1f3cc34266719d07dfd758f0ea6a15b4 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 17 Jul 2002 22:21:15 +0000 Subject: [PATCH] More updates for beta2. --- documentation/ConvertingR3.13AppsToR3.14.html | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/documentation/ConvertingR3.13AppsToR3.14.html b/documentation/ConvertingR3.13AppsToR3.14.html index 5ddade009..2040a4c9e 100644 --- a/documentation/ConvertingR3.13AppsToR3.14.html +++ b/documentation/ConvertingR3.13AppsToR3.14.html @@ -38,7 +38,8 @@ Create a new R3.14 application
mkdir <top>
cd <top>
<full path to R3.14.0beta2 base>/bin/<host_arch>/makeBaseApp.pl --t example example
+-t example example +

You can remove the newly created exampleApp directory now.

Copy all *App and iocBoot directories and files to the new <top> directory

@@ -94,8 +95,7 @@ Modify the Makefiles in <top>/*App/src directories.
to     include $(TOP)/configure/RULES

Change     PROD_LIBS = <name>
to     <prod name>_LIBS = dbStaticHost -
where  <prod name> is a specifified product to be -built. +
where  <prod name> is a specified product to be built.

Change  library name Db to dbStaticHost.
Change PROD_LIBS = Db
to  <prodname>_LIBS += dbStaticHost @@ -136,7 +136,7 @@ lines

Add the lines

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd -
<name>_SRCS += example_registerRecordDeviceDriver.cpp +
<name>_SRCS += <name>_registerRecordDeviceDriver.cpp

#The following adds support from base/src/vxWorks
<name>_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

#<name>_LIBS += seq @@ -204,15 +204,18 @@ Change       ld < <libname>Lib
to      ld < <libname>.munch

Change  load statements  for db and dbd files from

cd startup -
dbLoadDatabase("../../dbd/exampleApp.dbd") -
dbLoadRecords("../../db/dbExample1.db","user=jba") -
dbLoadRecords("../../db/dbExample2.db")
+
dbLoadDatabase("../../dbd/<name>App.dbd")
to
cd top -
dbLoadDatabase("dbd/example.dbd") -
registerRecordDeviceDriver(pdbbase) -
dbLoadRecords("db/dbExample1.db","user=jba") -
dbLoadRecords("db/dbExample2.db")
+
dbLoadDatabase("dbd/<name>.dbd") +
  +Add the following line immediately after the dbLoadDatabase lines. +
registerRecordDeviceDriver(pdbbase)
+Change all +
dbLoadRecords("../../db/<name>.db)
+lines to +
dbLoadRecords("db/<name>.db) +