The following package-specific switches are available for the command-line compiler.
|
Switch |
Purpose |
|
$G- |
Disables creation of imported data references. Using this switch increases memory-access efficiency, but prevents packages compiled with it from referencing variables in other packages. |
|
-LE path |
Specifies the directory where the compiled package file will be placed. |
|
-LN path |
Specifies the directory where the package dcp file will be placed. |
|
-LU packageName [;packageName2;...] |
Specifies additional runtime packages to use in an application. Used when compiling a project. |
|
-Z |
Prevents a package from being implicitly recompiled later. Use when compiling packages that provide low-level functionality, that change infrequently between builds, or whose source code will not be distributed. |
Using the
$G- switch may prevent a package from being used in the same application
with other packages.
Other command-line options may be used, if appropriate, when compiling packages.
Command-line compiler options
Package-specific compiler directives
下列包特有的开关在命令行编译器中是可用的:
|
开关 |
用途 |
|
$G- |
禁止创建或引入数据引用。使用该开关会提高内存访问效率,但会禁止包在编译时对其他包中变量的引用。 |
|
-LE path |
指定放置包文件的目录。 |
|
-LN path |
指定将存放包的dcp文件的目录。 |
|
-LU packageName [;packageName2;...] |
指定用在应用程序中额外的运行时包,仅在编译工程时使用。 |
|
-Z |
防止包在今后被隐含重编译。当编译的包提供低级功能,并且包几乎不会改变或其源代码不发布时,应使用该开关。 |
使用$G-开关可以防止在同一应用程序中包被其他的包使用。
编译包时,如果适当,其他命令行选项也可以被使用。
命令行编译选项(见联机帮助)