Chapter 6. Porting HP-UX Applications

In this chapter

  • 6.1

Preliminary Tasks

page 346

  • 6.2

General Differences

page 348

  • 6.3

The Compilers

page 350

  • 6.4


page 372

  • 6.5

Library Versioning

page 376

  • 6.6

Dynamic Linking and Shared Libraries

page 377

  • 6.7

Porting Shell Scripts to Linux

page 379

  • 6.8

Internationalization (I18N)

page 380

  • 6.9

Software Development Tools

page 383

  • 6.10


page 389

  • 6.11


page 412

  • 6.12

HP-UX System Calls and Linux Equivalents

page 423

  • 6.13

System Libraries

page 430

  • 6.14

GNU Scientific Library

page 431

  • 6.15

HP-UX and Linux APIs

page 432

  • 6.16

Interprocess Communications

page 435

  • 6.17


page 442

Porting is the step of the process during which modifications to the application take place. At this point, most if not all technical aspects and dependencies of the application should have already been uncovered during the scoping and analysis steps. The only thing that needs to be done now is to modify the source code so that it compiles and runs on the Linux platform.

During the porting process, software developers and porting personnel will likely encounter several differences between the UNIX operating system they are used to and the Linux 2.6 platform. For each topic discussed in this chapter, the most common differences are presented to explain what works and what does not work on the Linux 2.6 environment. The HP-UX environment described in this chapter is based mostly on version 11 but should also be applicable to older versions of HP-UX. Although this chapter discusses topics about HP-UX in some detail, it is assumed that porting engineers reading the chapter already have software development experience on HP-UX.

UNIX to Linux Porting. A Comprehensive Reference
UNIX to Linux Porting: A Comprehensive Reference
ISBN: 0131871099
EAN: 2147483647
Year: 2004
Pages: 175 © 2008-2017.
If you may any questions please contact us: