HP 3000 Manuals

Ch 6. Migrating C Programs to HP-UX [ HP C Programmer's Guide ] MPE/iX 5.0 Documentation


HP C Programmer's Guide

Chapter 6  Migrating C Programs to HP-UX 

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 Series 700/800 computers.  The first section lists
some steps you need to take to migrate an application program to an HP
9000 Series 700/800 computer.  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 Series
700/800 computer.  For example, if you use system-specific I/O routines
outside of the standard C library, you will have difficulty with
portability.



MPE/iX 5.0 Documentation