Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc

09.06.2013 Views

XENIX Programming Programming Commands a r (continued) c Create. Normally ar will create afile when it needs to. The create option suppresses the normal message that is produced when afile is created. 1 Local. Normally ar places its temporary files in the directory /tmp. This option causes them to be placed in the local directory. Files /tmp/v* Temporary files See Also ld, lorder, ranlib ar in "File Formats" in the XENIX 286 C Library Guide Notes If the same file is mentioned twice in an argu ment list, it may be put in the archive twice. B-17

Programming Commands XENIX Programming as - Invokes the XENIX assembler. Syntax as [options ] file.s Description as is the XENIX assembler. It reads and assembles 8086/286 assem bly language instructions from the source file named file.s and creates either a linkable object file named file.o or an executable program named a.out. The extension .s is recommended but not required. If this extension is not given, as displays a warning and continues processing. These options are available: -1 -nl num Creates an assembly listing file called file.L. This file lists the source instructions, the assembled (binary) code for each instruction, and any assembly errors. Sets the maximum length of external symbols to num. Names longer than num are truncated before being copied to the external symbol table. -g Directs the assembler to interpret undefined symbols as globally-defined external symbols. If not given, undefined symbols cause an assembly error. -Mm Creates a middle model object file suitable for linking with other middle model object files. The resulting text segment is named FILE_TEXT, where FILE is the file argument, but in uppercase letters. -NT name -NM name -o objfile B-18 Sets the text segment name of the assembled code to name. This option overrides the default text segment. Sets the module name of the assembled code to name. The option overrides the default module name. Copies the assembled instructions to the file named objfile. This file is executable only if no errors occur during the assembly. This option overrides the default object name.

<strong>XENIX</strong> Programming Programming Commands<br />

a r (continued)<br />

c Create. Normally ar will create afile when it needs to. The create option<br />

suppresses the normal message that is produced when afile is created.<br />

1 Local. Normally ar places its temporary files in the directory /tmp. This option<br />

causes them to be placed in the local directory.<br />

Files<br />

/tmp/v* Temporary files<br />

See Also<br />

ld, lorder, ranlib<br />

ar in "File Formats" in the <strong>XENIX</strong> <strong>2<strong>86</strong></strong> C Library <strong>Guide</strong><br />

Notes<br />

If the same file is mentioned twice in an argu ment list, it may be put in the archive<br />

twice.<br />

B-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!