Sample Linker (12.3) Configuration file

[Sys]<Sys>LinkerConfig.sys

Default LinkerConfig.sys file for CTOS Linker.  This file is intended to be a guide for use when configuring the Linker.  Unless noted, all parameters are listed with their default values.  For example, the :DefaultConfigFile: parameter probably would be used for your own private linker configuration file.  Refer to the Software Release Announcement and Programming Utilities Building Applications manual for details on configuring the linker.

Parameters that refer to sizes of Linker virtual memory are listed in your map file, when the option :Details: Yes is specified.  These parameters are specific to the run file created (V4, V6 or V8).


*** Parameters with YesNo values.
:CaseSensitive:No
:Details:No
 DsAllocation:No
:FarCallTranslation:No
:LineNumbers:No
:NonContiguousGroupOK:No
:MultipleDefSymbolsOK:No
:Publics:No
:SuppressWarnings:No

*** Parameters that specify area sizes within the Linker's virtual memory
*** Used by the Linker to create V4, V6, or V8 run files
 MaxRgPdhCG:32
 MaxRgRle:127
 MaxWorkingData:1024
*** Used by the Linker to create CodeView output file only
 MaxCodeViewLines:511 
 MaxCodeViewCode:32
*** Used by the Linker to create V4 or V6 run files only
 MaxRgRqlable:127
 MaxRgIdct:32
 MaxRgRlePStub:32
*** Used by the Linker to create V8 run files only
 MaxV8Strings:64
 MaxStringsTOC:16
 MaxImportData:16
 MaxExportData:16

*** Parameters that specify sizes up to 64Kb
 MaxArray:0
 MinArray:0

*** Parameters that specify sizes up to double 64Kb
*** MaxData and MinData specify the amount of shortlived memory the application willl allocate for real mode, the amount of shortlived and longlived memory the application will allocate for protected mode and the amount of virutal shortlived and longlived memory the application will allocate for virtual mode OS.
 MaxData:0
 MinData:0

*** Miscellaneous parameters
:PackCode:No

*** Parameters with no Linker defaults; 
    parameter values are examples (there is no preceeding :)
 DGroupHeapSize:default specified by compilers that created object files
 StackSize:default specified by compilers that created object files
 RunFileMode: Default for V4 or V6 is Real; Default for V8 is Protected
 ClassOrder:default specified in object files
 ClassOrder:(MEMORY STACK DATA CONST CODE)
 Undefined:Symbol of an external (Void Undefined is default)
 CopyRight:Test CopyRight Example (Void CopyRight is default)

*** LibraryReference and CharacterCode parameters

Under each LibraryReference heading is a list of library files.  The Default reference contains the list of libraries to be searched when nothing is specified.  The other lists can be accessed by specifying the name of the reference on the [Libraries] field of the Link V6 form as follows ...

Link V6
  Object modules  MyFile.obj
  Run file        MyFile.Run
  ...
  Libraries       (Services)
  ...

Note that none of the libraries in the Default list are searched when another list is specified.


The LibraryReference list also contains the :CharacterCodeSet: parameter.  Values for CharacterCodeSet are SingleByte (default), Japan, China, and Korea.

:LibraryReference:Default
:LibraryFile:[sys]<sys>Ctos.lib
:LibraryFile:[sys]<sys>CtosToolKit.lib
:LibraryFile:[sys]<sys>ENLS.lib
:CharacterCodeSet:SingleByte

:LibraryReference:Japanese
:LibraryFile:[sys]<sys>Ctos.lib
:LibraryFile:[sys]<sys>CtosToolKit.lib
:LibraryFile:[sys]<sys>ENLSJ.lib
:CharacterCodeSet:Japan

:LibraryReference:XVT
:LibraryFile:[sys]<sys>Ctos.lib
:LibraryFile:[sys]<sys>CtosToolKit.lib
:LibraryFile:[sys]<sys>ENLS.lib
:LibraryFile:[sys]<sys>XVT.lib

:LibraryReference:Services
:LibraryFile:[sys]<sys>Ctos.lib
:LibraryFile:[sys]<sys>CtosToolKit.lib
:LibraryFile:[sys]<sys>ENLS.lib
:LibraryFile:[sys]<sys>Mouse.lib
:LibraryFile:[sys]<sys>Forms.lib
:LibraryFile:[sys]<sys>Exec.lib


