HPlogo HP C/HP-UX Release Notes for HP-UX 11.01: HP 9000 Computers > Chapter 1 New and Changed Features

-Bextern compiler option

» 

Technical documentation

Complete book in PDF

 » Table of Contents

The -Bextern compiler performs the same operation as the existing +Oextern=sym1,sym2,sym3... option. Unlike +Oextern, however, it does not require you to manually specify extern symbols locally on the command line.

Syntax

-Bextern:filename

When used, -Bextern tells the compiler that the symbols reside in a separate load module. -Bextern:filename fetches the list of symbols from a text file instead of locally. Symbols referenced in the file must be white-space separated within the file.

© Hewlett-Packard Development Company, L.P.