HP 3000 Manuals

Conversion Strategy [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation


SPL to HP C/XL Migration Guide

Conversion Strategy 

This guide describes a four-step procedure for converting an SPL program
to HP C/XL:

   1.  Remove as many hardware-dependent SPL constructs as possible from
       the SPL program.  Recompile and test.

   2.  Rewrite other SPL constructs into forms that convert easily to HP
       C/XL. Recompile and test.

   3.  Convert the SPL source code to HP C/XL source code, rewriting as
       little as possible.  Compile and test.

   4.  Make improvements in the HP C/XL source code.

This procedure is described in detail in Chapter 11.

For large programs, you may consider a phased migration.  You could
convert the main program first and use the switch subsystem to access the
remaining SPL code (e.g., in subprograms).  See the Switch Programming 
User's Guide for details.

The following chapters parallel the Systems Programming Language 
Reference Manual, section for section, discussing the conversion issues
involved.



MPE/iX 5.0 Documentation