Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Pascal/HP-UX Release Notes: HP 9000 Series Systems > Chapter 1 New and Changed Features

Referencing Shared-Library Data (+k Option)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

The HP Pascal/HP-UX compiler now can generate long-displacement code sequences for referencing global data. This behavior is triggered by the +k command-line option and conflicts with generating Position Independent Code (PIC).

Compiling with +k becomes necessary in the rare case when a program references a very large number of distinct variables that are defined in shared libraries. If this occurs, the linker issues a diagnostic message, stating that the program should be re-compiled with the +k option.

Note that nearly all programs can reference shared-library data without needing to be compiled with the +k option.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1994 Hewlett-Packard Development Company, L.P.