This page should contain everything you need to know to build BDE with BDESYM functions turned on. The following are the main areas of this page.
The following are instructions to build the Block Diagram Editor
(BDE) from scratch with the SYMTXT functions turned on.
Ensure that the BDE_LIB_PATH environment variable in configure.h is set to the correct /lib directory.
Ensure that the /lib directory being used contains the proper view and .dat files.
Ensure that the text directory is part of the SUBDIRS variable with in the toplevel Imakefile
Ensure that the BDESYM flag is set in configure.h
cd pr_util
edit Imakefile
Make sure that the CHGEN variable within the makefiles is the current and valid version
cd ../schema
Ensure that the 94sbde_schema.sch is the current 1996 BDESYM schema. This is the schema that has the TT, TA, and SV tables enclosed.
cd ..
make clean
xmkmf -a
cd pr_util
The changes outlined below must be made to the CHGEN generated
files following CHGEN execution to integrate the 96S523 BDESYM
changes.
Note that CHGEN should be run with the -metafile option so that
a ~.msdat file suitable for loading the TT/TA environment is available
at execute time.
After the xmkmf -a is executed there should be some C files
generated within the pr_util directory. The following functions
in pr_load.c should be modified. Future CHGEN projects
should have these macros generated in this way. Macro replacement routines can be found in :
/usr/proj3/case/96s523/bdesym/macro_changes
Remove the following macros from the schema header file generated
by CHGEN. Add the file bdesym.schema.macro.changes.h to the schema header
file generated by CHGEN.
The function pr_gen_create() has been altered to require
a second argument by the 96Spring BDESYM project. The prototype
for pr_gen_create() in the schema header file should be
altered to extern hcg_ptr pr_gen_create(int,char*);
Due to a dependency problem not fixed with the 1996 S BDESYM project
the updated schema header file should be located in both the /pr_util
directory and the /include directory. Complete this by
:
cp 94sbde_schema.h ../include
The bdesym.* replacement files noted in the above document are
currently located in $CASE/96s523/bdesym/rcostell/temp.
Return to the main directory:
cd ..
make
The contents of the pr_util directory will be made first
followed by the text and then src.
The following are locations where the latest source code, documentation, and other data is being kept for the 1996 Spring BDESYM project is kept.
The 1996 Spring BDESYM team source code changes included fixes to CHGEN as well
as modifications to the BDE source code located in the /src directory.
/usr/proj3/case/96s523/bdesym/rcostell/chgen10/chgen10/src
/usr/proj3/case/96s523/bdesym/rconnell/94sint/src
/usr/proj3/case/96s523/bdesym/rconnell/94sint/schema
/usr/proj3/case/96s523/bdesym/rconnell/94sint/text
/usr/proj3/case/96s523/bdesym/base/macro_changes
The following documentation has been completed for the 1996 S BDESYM project.
/usr/proj3/case/96s523/bdesym/base/doc/
/usr/proj3/case/96s523/bdesym/base/doc/text_only
/usr/proj3/case/96s523/bdesym/base/doc/idraw
/usr/proj3/case/96s523/bdesym/lechner
/usr/proj3/case/96s523/bdesym/base/test
[BDESYM Home] [PDR]
[CDR] [Final Report]
BDESYM Cut and Paste Instructions.
Replacement Routines
New Routines
On-line Source Locations
CHGEN10 Modifications
BDE Source Code Changes
BDE Schema Code Change
BDESYM Source Code Changes
Macros Changes
Documentation Location
Microsoft Word (version 6.0)
Text only
Diagrams
HTML Pages
Other Data
Test Data