User guide
2: Software Installation
DC 900-1333P 87
2.4.6 Compile the Example Server-Resident Application
To build the example SRA, you must have installed a GNU cross compiler compatible
with the target CPU in your Freeway. It is recommended that you use the GNU cross
compiler provided with the Wind River Systems Tornado tool set. The target CPU-spe-
cific portion of the Tornado tool set is called the Board Support Package (BSP). To use
the GNU cross compiler provided with Tornado, you must have purchased the appro-
priate BSP for your Freeway. The pc486 BSP is required for Freeway
1100/1150/1200/1300, the mv162 BSP is required for a Freeway 2000/4000/8800 with an
MVME 162 CPU, and the mv2604 BSP is required for a Freeway 2000/4000/8800 with
an MVME 2600 CPU.
If you are using a GNU compiler that is not part of a Tornado distribution, you must
make several modifications to the environment files and make files used to build your
SRA. See the Freeway Server Software Toolkit Programmer’s Guide for further informa-
tion on building the SRA without the Tornado distribution.
Compile the example SRA code using the provided make files.
Step 1: Edit
freeway\envcom
Modify the path assigned to FWBASE in the freeway\envcom file to match your Freeway
installation directory.
Step 2: Build the SRA object module
To build the SRA object module, you must compile and link the example SRA source
code by running one of the make files provide in the
freeway directory. The make file
will place the resulting SRA object module in the
freeway\boot directory. The name of
the object module generated is
sra486.o for Freeway 1100/1150/1200/1300, sra68K.o for
a Freeway 2000/4000/8800 with an MVME 162 CPU, or
srappc.o for a Freeway
2000/4000/8800 with an MVME 2600 CPU.