home *** CD-ROM | disk | FTP | other *** search
- !
- ! 386|LINK command file to link a MetaWare High C/C++ program to run
- ! under Phar Lap's 386|DOS-Extender
- !
- -exeformat exp ! create a .EXP output file
- -defstubname gorun386 ! bind GORUN386 stub loader on the output file
- -stack 4000h ! give program a 16K stack
- -maxdata 0 ! no extra memory allocated at pgm load time
- -twocase ! case-sensitive link
- -lib hc386 ! C library
- -lib hcc386 ! C++ library
- -lib hc387 ! C floating point library
- -lib hcc387 ! C++ floating point library
- !-lib hcsoft ! C floating point emulation
- !-lib hccsoft ! C++ floating point emulation
- -lib dosx32.lib ! _dx_ functions for Phar Lap system calls
- -386 ! 386 (or later) processor target
-
- ! Give code the "er" (execute/read) and data the "rw" (read/write)
- ! attributes, so a debugger (such as 386|SRCBug) will be able to
- ! distinguish between code and data symbols
-
- -attributes class CODE er
- -attributes group CGROUP er
- -attributes class DATA rw
- -attributes class CONST rw
- -attributes class BSS rw
- -attributes class STACK rw
- -attributes group DGROUP rw
-