HPlogo HP C/HP-UX Programmer's Guide: Workstations and Servers

Chapter 6 Migrating C Programs to HP-UX

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

This chapter discusses issues to consider when migrating C language programs from VAX systems, HP 9000 Series 300/400, and HP 9000 Series 500 computers to HP 9000 workstations and servers. The first section lists some steps you need to take to migrate an application program to an HP 9000 workstation or server. Subsequent sections in this chapter highlight major differences between various C compilers and suggest how to modify source files to ease migration.

Because C is a highly portable language, if you follow the recommendations given in the chapter "Programming for Portability," your program should migrate easily. However, if you use system-dependent programming practices, a program that executes successfully on one computer may not execute properly when transferred to a HP 9000 workstation or server. For example, if you use system-specific I/O routines outside of the standard C library, you will have difficulty with portability.

© Hewlett-Packard Development Company, L.P.