Assembling Your Program

Using the as Command

-u

Prevent the Assembler from creating

 

stack unwind descriptors. This option

 

precludes the use of the .ENTER and

 

.LEAVE directives within a program.

-vfilename

Name a file to which the Assembler

 

writes cross-reference information;

 

this includes the source file and the line

 

number for each appearance of all

 

symbols.

-V

Print the version number of the

 

Assembler program to standard error

 

before assembling the source text.

-w[number]

Either suppress all warning messages

 

if no number is supplied or suppress

 

just the warning number provided. You

 

can use multiple -wnumberoptions

 

to suppress additional warning

 

messages.

+z

Create position-independent code

 

suitable for inclusion in a shared

 

library. Use this option for small

 

linkage tables.

+Z

Create position-independent code

 

suitable for inclusion in a shared

 

library. Use this option for large

 

linkage tables.

 

For more information about linkage

 

tables, see HP-UX Linker and Libraries

 

Online User Guide.

126

Chapter 6