Installation guide
unavailable or you need an operating version of the program while you are
migrating source code, you can migrate an executable.
1.4.3.1 Migrating Source Code
To migrate source code from an ULTRIX to a DIGITAL UNIX system,
follow these steps:
1. Copy your program source files (and make files, if any) to the DIGITAL
UNIX system.
2. If you require additional development environment tools to build your
application, migrate those tools to the DIGITAL UNIX system.
3. Modify your make files, if necessary, so that they work on the DIGITAL
UNIX system.
4. Select the appropriate compilation mode and correct any C syntax
errors.
5. Evaluate changes in symbols (undefined symbols, multiply defined
symbols) and modify the source code appropriately.
6. Evaluate your header files (missing header files, changed header file
names) and modify the source code appropriately.
7. Evaluate differences between a 32-bit and 64-bit programming
environment and modify the source code appropriately.
8. Run lint, if possible, to identify other errors. Correct the errors as
you find them.
9. Evaluate and modify references to libraries and library routines that
are provided on ULTRIX systems but not on DIGITAL UNIX systems.
10. Run your program and correct semantic errors.
11. Test your program thoroughly on the DIGITAL UNIX system.
For more information about the work needed to complete these tasks, see
Chapter 7.
1.4.3.2 Migrating Executables
You can migrate a MIPS ULTRIX executable by using the DECmigrate for
DEC OSF/1 Alpha product. This product is made up of the mx translator
and the mxr run-time system.
The mx translator translates only user mode programs. It does not:
• Translate kernel code.
Introduction to Migrating from ULTRIX to DIGITAL UNIX Systems 1–11