Installation guide
7
Migrating Your ULTRIX Application to a
DIGITAL UNIX System
The best way to move your application from an ULTRIX system to a
DIGITAL UNIX system is to migrate your source code to the DIGITAL
UNIX system. When you port source code, the result is a native DIGITAL
UNIX application that is easy to move to new versions of DIGITAL UNIX
and new platforms. In addition, you can take advantage of DIGITAL UNIX
features, such as 64-bit data types and addressing and shared libraries.
This chapter describes the tasks you perform to migrate source code from
an ULTRIX to a DIGITAL UNIX system after you have transported the
source files to the DIGITAL UNIX system by using rcp, ftp,oruucp
commands, tar archives, Network File System (NFS) mounting, or any
other appropriate method. This chapter also gives information about
ULTRIX header files that are not supplied on a DIGITAL UNIX system,
differences in using the C compiler on an ULTRIX and a DIGITAL UNIX
system, and ULTRIX function libraries that are not supplied on a DIGITAL
UNIX system.
7.1 Modifying Your Makefile
To allow you to conveniently build your application on a DIGITAL UNIX
system, modify your makefile so that it works on the DIGITAL UNIX
system. The following list describes differences between DIGITAL UNIX
and ULTRIX systems that could affect your makefile:
• The s5make command is unsupported on the DIGITAL UNIX system.
Remove references to that command and replace them with the make
command.
• The DIGITAL UNIX directory structure is different from the ULTRIX
directory structure. This difference might require you to modify
pathnames in your makefile.
• Changes in command options could require changes to your makefile.
For information about differences between ULTRIX and DIGITAL
UNIX command options, see Appendix A.
• Differences in how system libraries are organized could require changes
to your makefile. For information about differences, see Section 7.6.
Migrating Your ULTRIX Application to a DIGITAL UNIX System 7–1