DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

idas(M)


idas -- assembler used by the Link Kit

Syntax

idas [-dl] [-m] [-n] [-o objfile] [-R] [-V] [-Y [md],dir] filename

Description

The idas command assembles the named file. The following flags may be specified in any order:

-dl
Do not produce line number information in the object file.

-m
Run the m4(CP) macro processor on the input to the assembler.

-n
Turn off long/short address optimization. By default, address optimization takes place.

-o objfile
Put the output of the assembly in objfile. By default, the output file name is formed by removing the .s suffix, if there is one, from the input file name and appending a .o suffix.

-R
Remove (unlink) the input file after assembly is completed.

-V
Write the version number of the assembler being run on the standard error output.

-Y [md],dir
Find the m4 preprocessor (m) and/or the file of predefined macros (d) in directory dir instead of in the customary place. There must be a space between the -Y flag and its options.

Warning

If the -m (m4 macro processor invocation) option is used, keywords for m4 cannot be used as symbols (variables, functions, labels) in the input file since m4 cannot determine which are assembler symbols and which are real m4 macros.

Limitations

idas is intended for use by the Link Kit. The as(CP) assembler should be used if an assembler is needed for program development. as is supplied as part of the SCO OpenServer Development System, which also includes the C compiler cc(CP), the link editor ld(CP), object libraries, and header files.

The assembler directive may not work in the .text section when optimization is performed.

Arithmetic expressions may only have one forward referenced symbol per expression.

Wherever possible, the assembler should be accessed through a compilation system interface program such as cc.

Files


/bin/idas
idas executable file

TMPDIR/*
temporary files. TMPDIR is usually /usr/tmp but can be redefined by setting the environment variable TMPDIR (see tempnam() in tmpnam(S)).

See also

a.out(FP), as(CP), cc(CP), idld(M), ld(CP), m4(CP), nm(CP), strip(CP), tmpnam(S)

Standards conformance

idas is conformant with:

AT&T SVID Issue 2.


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003