beautypg.com

Librarian command line options – Zilog Z8F0130 User Manual

Page 511

background image

UM013037-1212

Librarian Command Line Options

Zilog Developer Studio II – Z8 Encore!

User Manual

487

Librarian Command Line Options

The following table describes the librarian command line options.

-stdinc:"

path"

Sets the path for the standard include files. This defines the location of include
files using the #include .h> syntax. Multiple paths are separated by
semicolons. For example:
-stdinc:"c:\rtl;c:\myinc"

In this example, the compiler looks for the include file in
1. the project directory
2. the c:\rtl directory
3. the c:\myinc directory
4. the default directory
If the file is not found after searching the entire path, the compiler flags an error.

The default standard includes are located in the following directories:
<ZDS Installation Directory>\include\zilog
In the above filepath, <ZDS Installation Directory> is the directory in which Zilog
Developer Studio was installed. By default, this path is:
C:\Program Files\Zilog\ZDSII_Z8Encore!_
In the above filepath, <version> may be 4.11.0 or 5.0.0.

Omitting this switch tells the compiler to search only the current and default
directories.

-usrinc:"

path"

Sets the search path for user include files. This defines the location of include files
using the #include "file.h" syntax. Multiple paths are separated by semicolons.
For example:
-usrinc:"c:\rtl;c:\myinc"
In this example, the compiler looks for the include file in
1. the project directory
2. the c:\rtl directory
3. the c:\myinc directory
4. the directory of the file in which the file is included
5. the directories listed under the -stdinc command
6. the default directory

If the file is not found after searching the entire path, the compiler flags an error.
Omitting this switch tells the compiler to search only the current directory.

-version

Prints the version number of the compiler.

Table 58. Compiler Command Line Options (Continued)

Option Name

Description