HP-UX HB v13.00 Ch-11 - Software Development

HP-UX Handbook Rev 13.00 Page 3 (of 101)
Chapter 11 Software Development
October 29, 2013
TABLE OF CONTENTS
Preface __________________________________________________________________________ 4
The Build Process __________________________________________________________________ 4
Source Code ____________________________________________________________________________ 5
Compiling ______________________________________________________________________________ 7
Objects ________________________________________________________________________________ 9
Linking ________________________________________________________________________________ 13
Executables ____________________________________________________________________________ 16
Program Execution ________________________________________________________________ 21
Load the Program _______________________________________________________________________ 23
Load Shared Libraries ____________________________________________________________________ 23
Resolve Symbols ________________________________________________________________________ 25
Execute main() _________________________________________________________________________ 27
Program Termination ____________________________________________________________________ 28
Process Memory ________________________________________________________________________ 29
Products On HP-UX _______________________________________________________________ 37
Development Tools ______________________________________________________________________ 38
Runtime Environments ___________________________________________________________________ 40
Java __________________________________________________________________________________ 41
Scripting Languages______________________________________________________________________ 43
Tools ___________________________________________________________________________ 48
Development Utilities ____________________________________________________________________ 48
Static Information _______________________________________________________________________ 51
Runtime Analysis ________________________________________________________________________ 55
Solving Common Problems _________________________________________________________ 64
Installation Problems ____________________________________________________________________ 64
Build Problems _________________________________________________________________________ 67
Problems Starting A Program ______________________________________________________________ 72
Error Messages From The Dynamic Loader ___________________________________________________ 72
Program Aborts _________________________________________________________________________ 76
Environment Variables ___________________________________________________________________ 96
Additional Information ___________________________________________________________ 100
Official HP Websites ____________________________________________________________________ 100
HP Internal Links _______________________________________________________________________ 101
External Links _________________________________________________________________________ 101