Name

as

Synopsis

    as [options]files

Generate an object file from each specified assembly language source file. Object files have the same rootname as source files but replace the .s suffix with .o. as is usually called by compiler driver programs such as cc or gcc.

Each system has options specific to it, often too many options to comprehend easily. See your local as(1) manpage.

Solaris: as is found in /usr/ccs/bin.

Common Option

-o objfile

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

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.