06.02.2013 Views

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

9−80<br />

LINKER/LOCATOR<br />

MODPATH<br />

Control:<br />

Chapter 9<br />

From the Project menu, select Project Options...<br />

Expand the <strong>Linker</strong>/<strong>Locator</strong> entry and select Miscellaneous.<br />

Add the control to the Additional locator controls in control file (.ilo)<br />

field.<br />

MODPATH(directory−name [, directory−name]...)<br />

Abbreviation:<br />

MP<br />

Class:<br />

Link/Locate general<br />

Default:<br />

−<br />

Description:<br />

Using this control you can designate one or more directory−names to be<br />

used as the first search path for module files (i.e. object files in link stage<br />

and linked object files in locate stage). If the searched module file is not<br />

found in the first directory specified in MODPATH, it searches in the next<br />

directory in the list. If the searched modue file is not found in any of the<br />

directories specified in MODPATH, l166 searches in the actual directory.<br />

It is also possible to use single ’quotes’ to use filenames and directories<br />

with spaces in them.<br />

See also section 9.8 Default Object and Library Directories.<br />

Example:<br />

l166 link util.lib x.obj modpath( c:\src\c166 c:\src )<br />

; x.obj is first searched for in the<br />

; specified directories.

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

Saved successfully!

Ooh no, something went wrong!