| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (27 out of 48)

module-map

Specifies the location of the optional module-map file.

Platforms

All platforms

Syntax

	-module-map module-map-file-path
module-map-file-path: Location and name of the module-map file.

Equivalent Environment Variable

Same syntax as module-map-file-path.

Description

G2 uses the optional module-map file when loading and saving modular KBs that contain directly required modules. Each record in a module-map file associates a module name with either a fully qualified directory pathname or a fully qualified file pathname.

If no -module-map option is specified, and if the G2_MODULE_MAP environment variable is not set, G2 looks for a file named g2.mm in the directory from which you launched G2.

For more information about using a module-map file and the -module-map option, see the chapter on Modules in the G2 Reference Manual.

Example

This command starts a new G2 process and directs G2 to use the module-map file named /usr/kmm/new-project/modmap.txt:

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (27 out of 48)

Copyright © 1997 Gensym Corporation, Inc.