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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

dosld - <strong>XENIX</strong> to MS-DOS cross linker.<br />

Syntax<br />

dosld [options] file •••<br />

Description<br />

dosld links the object file{s) given by file to create a program for execution under MS­<br />

DOS. Although sim ilar to ld, dosld has many options that differ significantly from ld.<br />

The options are described below.<br />

-D<br />

-H<br />

-L<br />

-M<br />

-c<br />

-F num<br />

-S num<br />

B-62<br />

DS Allocate. This option instructs dosld to perform DS allocation. It is<br />

generally used in conjunction with the -H option.<br />

Load high. This option instructs dosld to set a field in the header of<br />

the executable file to tell MS-DOS to load the program at the highest<br />

available position in memory. It is most often used with programs in<br />

which data precedes code in the memory image.<br />

Include line numbers. This option instructs dosld to include line<br />

numbers in the listing file {if any). Note that dosld cannot put line<br />

numbers in the listing file if the source translator hasn't put them in<br />

the object file.<br />

Include public sy mbols. This option instructs dosld to include public<br />

sym bols in the list file. The sym bols are sorted twice,<br />

lexicographically and by address.<br />

Ignore case. This option instructs dosld to treat upper and lower case<br />

characters in symbol names as identical.<br />

Set stack size. This option should be followed by a hexadecimal<br />

number. dosld will use this number for the size in bytes of the stack<br />

segment in the output file.<br />

Set segment limit. This option should be followed by a decimal number<br />

between 1 and 1024. The number sets the limit on the nu mber of<br />

different segments that may be linked together. The default is 128.<br />

Note that the higher the value given, the slower the link will be.

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

Saved successfully!

Ooh no, something went wrong!