CONFIGURATION FILE EXAMPLES

Three sample configuration definition files are included in the CauseWay package. MSLINK.DEF ignores or translates several Microsoft link options. WARPLINK.DEF ignores or translates several WarpLink options; RTLINK.DEF engages freeformat parsing and translates or ignores standard commands used by RTLink. The command lists in each configuration file are not exhaustive, but do cover the most commonly used commands and options by these, and compatible, linkers.

Access definition files via the following format:

WL32 /lc:<definitions file> @<link file>

For example, for the RTLink definitions configuration file use:

WL32 /lc:RTLINK.DEF @LINKFILE.LNK

NOTES

You may use the WL32 /wu option with a configuration file to identify options or commands which are being ignored by the linker, i.e. unknown options.

The morphing ability allows you to set up link scripts that are extremely opaque and impossible for other linkers to interpret. For example, you might create a configuration file with the following morphing commands:

FREEFORMAT

/COW=/ex

LINKTHISFILE=OBJNAME

MYFILE3=OBJADD

LINKTHISONETOO=OBJNAME

HEREARELIBRARIES=LIBNAME

IGNORE[THIS]*=NULL

/DOESNOTHINGBUTIMPRESSIVEOPTION*=NULL

@=IGNORE

-=IGNORE

"=IGNORE

TheStackOfToday=/st:

CREATE=EXENAME

~=COMMENT

/b=DEFAULT

Next Page

Previous Page

Go to Table of Contents

Go back to Devore Software & Consulting home page