UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: arChapter 2
Unix Commands
Next: Reference: at
 

as

/usr/ccs/bin/as [options] files

Generate an object file from each specified assembly language source file. Object files have the same root name as source files but replace the .s suffix with .o. There may be additional system-specific options. See also dis.

Options

-m

Run m4 on file.

-n

Turn off optimization of long/short addresses.

-o objfile

Place output in object file objfile (default is file.o).

-Qc

Put the assembler's version number in the object file (when c = y); default is not to put it (c = n).

-R

Remove file upon completion.

-T

Force obsolete assembler directives to be obeyed.

-V

Display the version number of the assembler.

-Y [key,] dir

Search directory dir for the m4 preprocessor (if key is m), for the file containing predefined macros (if key is d), or for both (if key is omitted).


Previous: Reference: arUNIX in a Nutshell: System V EditionNext: Reference: at
Reference: arBook IndexReference: at

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System