wlmem.gml

来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 33 行

GML
33
字号
.*
.*
.section The &lnkname Memory Requirements
.*
.np
.ix 'memory requirements'
The &lnkname uses all available memory when linking an application.
.if '&target' ne 'QNX' .do begin
For DOS-hosted versions of the &lnkname, this includes expanded memory
(EMS) and extended memory.
.do end
It is possible for the size of the image being linked to exceed the
amount of memory available in your machine, particularly if the image
file is to contain debugging information.
For this reason, a temporary disk file is used when all available
memory is used by the &lnkname..
.np
Normally, the temporary file is created in the current working directory.
.ix '&tmpvarname. environment variable'
.ix 'environment variables' '&tmpvarname.'
However, by defining the "&tmpvarname." environment variable to be a
directory, you can tell the &lnkname where to create the temporary
file.
This can be particularly useful if you have a RAM disk.
Consider the following definition of the "&tmpvarname." environment
variable.
.millust begin
&sysprompt.&setcmd &tmpvarname=&pc.tmp
.millust end
.pc
The &lnkname will create the temporary file in the directory
"&pc.tmp".

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?