09.06.2013 Views

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

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

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

dosld (continued)<br />

-m filename<br />

-nl num<br />

-o filename<br />

-u name<br />

-G<br />

Create map file. This option should be followed by a filename. dosld<br />

will create a file with the given name in which it will put information<br />

about the segments and groups in the executable. Additionally, public<br />

symbols and line numbers will be listed in this file if the -M and -L<br />

options are given.<br />

Set name length. This option should be followed by a decimal number.<br />

The option instructs dosld to truncate all public and external symbols<br />

longer than num characters.<br />

Name output file. This option should be followed by a filename which<br />

dosld will use as the name of the executable file it creates. The<br />

default name is a.out.<br />

Name undefined symbol. This option should be followed by a symbol<br />

name. dosld will enter the given name into its symbol table as an<br />

undefined symbol. The -u option may appear more than once on the<br />

command line.<br />

Ignore group associations. This option instructs dosld to ignore any<br />

group definitions it may find in the input files. This option is provided<br />

for compatibility with old versions of MS-LINK; generally, it should<br />

never be used.<br />

As with ld, the files passed to dosld may be either <strong>XENIX</strong>-style libraries (objects<br />

collected using ar) and indexed using ranlib or ordinary 80<strong>86</strong> object files. Unless the -u<br />

option appears, at least one of the files passed to dosld must be an ordinary object file.<br />

Libraries are searched only after all the ordinary object files have been processed.<br />

Files<br />

/usr/bin/dosld<br />

See Also<br />

ar, as, cc, ld, ranlib<br />

dos in "Commands" in the <strong>XENIX</strong> <strong>2<strong>86</strong></strong> Reference Manual<br />

8-63

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

Saved successfully!

Ooh no, something went wrong!