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 larder - Finds ordering relation for an object library. Syntax I order file ... Description The input is one or more object or library archive files. (See ar.) The standard output is a list of pairs of object file names, meaning that the first file of the pair refers to external identifiers defined in the second. The output may be processed by tsort to find an ordering of a library suitable for one-pass access by ld. Example The following command intends to build a new library from existing .o files: Files ar cr library '!order *.o I tsort ' *symref, *symdef Temporary files See Also ar, Id, tsort Notes Object files with names that do not end with .o, even when contained in library archives, are overlooked. Their global symbols and references are attributed to some other file. B-83

Programming Commands XENIX Programming m4 - Invokes a macro processor. Syntax m4 [options ] [ files ] ... Description m4 is a macro processor intended as a front end for RATFOR, C, and other languages. Each of the argument files is processed in order; if there are no files, or if a file name is -, the standard input is read. The processed text is written on the standard output. The options and their effects are as follows: -e Operates interactively. Interrupts are ignored and the output is unbuffered. -s Enables line sync output for the C preprocessor (#line ••• ). -Bint -Hint -Sint -Tint Changes the size of the push-back and argument collection buffers from the default of 4,096. Changes the size of the symbol table hash array from the default of 199. The size should be prime. Changes the size of the call stack from the default of 100 slots. Macros take three slots, and nonmacro arguments take one. Changes the size of the token buffer from the default of 512 bytes. To be effective, these flags must appear before any file names and before any -D or -U flags: -Dname[=val] Defines name to val or to null in val's absence. -Uname Undefines name. B-84

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

m4 - Invokes a macro processor.<br />

Syntax<br />

m4 [options ] [ files ] ...<br />

Description<br />

m4 is a macro processor intended as a front end for RATFOR, C, and other languages.<br />

Each of the argument files is processed in order; if there are no files, or if a file name is<br />

-, the standard input is read. The processed text is written on the standard output.<br />

The options and their effects are as follows:<br />

-e Operates interactively. Interrupts are ignored and the output is unbuffered.<br />

-s Enables line sync output for the C preprocessor (#line ••• ).<br />

-Bint<br />

-Hint<br />

-Sint<br />

-Tint<br />

Changes the size of the push-back and argument collection buffers from the<br />

default of 4,096.<br />

Changes the size of the symbol table hash array from the default of 199. The<br />

size should be prime.<br />

Changes the size of the call stack from the default of 100 slots. Macros take<br />

three slots, and nonmacro arguments take one.<br />

Changes the size of the token buffer from the default of 512 bytes.<br />

To be effective, these flags must appear before any file names and before any -D or -U<br />

flags:<br />

-Dname[=val]<br />

Defines name to val or to null in val's absence.<br />

-Uname<br />

Undefines name.<br />

B-84

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

Saved successfully!

Ooh no, something went wrong!