Changes between Version 14 and Version 15 of BuildingFm2
- Timestamp:
- Sep 21, 2009, 6:14:49 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingFm2
v14 v15 41 41 Build the release version with 42 42 {{{ 43 set HIMEM= 43 44 set DEBUG= 44 45 set FORTIFY= 46 set USE_RC= 45 47 wmake 46 48 }}} 47 49 48 The set statements may be omitted if you have not defined DEBUG or FORTIFYin the environment.50 The set statements may be omitted if you have not defined the variables in the environment. 49 51 50 52 Build the debug version with … … 63 65 Once you are familiar with the build process, you can speed up the switch by deleting fm3dll.lrf and the .obj files that you want rebuilt. This will give wmake enough information to do a proper rebuild without the -a switch. 64 66 65 Build options such as DEBUG and FORTIFY may be specified either in the environment or on the command line. Choose one method and use it consistently or you may beget unexpected results.67 Build options such as DEBUG and FORTIFY may be specified either in the environment or on the command line. Choose one method and use it consistently or you may get unexpected results. 66 68 67 69 The build outputs are: … … 94 96 Lxlite.exe needs to be in a directory listed in the PATH statement of your config.sys or build enviroment cmd file. 95 97 96 To compress exe/dlls,run98 To compress the executables run 97 99 {{{ 98 100 wmake lxlite … … 118 120 Save the file naming it possibly Build_FM2.cmd. Copy the file to the root of your fm/2 workspace. The script must be run from this directory or it will not find the required files. After the script finishes, open the warpin subdirectory and you should find the WarpIN file in this directory. 119 121 122 == Build options == 123 124 === HIMEM === 125 126 If not defined, fm/2 will be built to use low memory only. 127 If defined, fm/2 will use upper memory for both code and data. 128 129 === DEBUG === 130 131 If not defined, a release build will be built. If defined a debug build with be built. 132 Debug builds include support for symbolic debugging. 133 134 === WARNALL === 135 136 If not defined, do default compile-time error checking. 137 If defined, do more compile-time error checking. 138 Errors reported by WARNALL are rarely a problem, but it is recommend that WARNALL be used 139 before releasing a production binary. 140 141 === FORTIFY === 142 143 If not defined FORTIFY support is omitted. 144 If defined FORTIFY support is enabled. 145 FORTIFY added runtime heap corruption and leak checking. 146 Be sure to use wmake -a when changing this option. 147 148 === USE_RC === 149 150 If not defined, build with wrc.exe. 151 If defined, build with rc.exe. 152 wrc.rc is the preferred resource compiler.