Changes between Version 14 and Version 15 of BuildingFm2


Ignore:
Timestamp:
Sep 21, 2009, 6:14:49 PM (15 years ago)
Author:
Steven Levine
Comment:

Document current build options

Legend:

Unmodified
Added
Removed
Modified
  • BuildingFm2

    v14 v15  
    4141Build the release version with
    4242{{{
     43  set HIMEM=
    4344  set DEBUG=
    4445  set FORTIFY=
     46  set USE_RC=
    4547  wmake
    4648}}}
    4749
    48 The set statements may be omitted if you have not defined DEBUG or FORTIFY in the environment.
     50The set statements may be omitted if you have not defined the variables in the environment.
    4951
    5052Build the debug version with
     
    6365Once 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.
    6466
    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 be get unexpected results.
     67Build 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.
    6668
    6769The build outputs are:
     
    9496Lxlite.exe needs to be in a directory listed in the PATH statement of your config.sys or build enviroment cmd file.
    9597
    96 To compress exe/dlls, run
     98To compress the executables run
    9799{{{
    98100wmake lxlite
     
    118120Save 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.
    119121
     122== Build options ==
     123
     124=== HIMEM ===
     125
     126If not defined, fm/2 will be built to use low memory only.
     127If defined, fm/2 will use upper memory for both code and data.
     128
     129=== DEBUG ===
     130
     131If not defined, a release build will be built.  If defined a debug build with be built.
     132Debug builds include support for symbolic debugging.
     133
     134=== WARNALL ===
     135
     136If not defined, do default compile-time error checking.
     137If defined, do more compile-time error checking.
     138Errors reported by WARNALL are rarely a problem, but it is recommend that WARNALL be used
     139before releasing a production binary.
     140
     141=== FORTIFY ===
     142
     143If not defined FORTIFY support is omitted.
     144If defined FORTIFY support is enabled.
     145FORTIFY added runtime heap corruption and leak checking.
     146Be sure to use wmake -a when changing this option.
     147
     148=== USE_RC  ===
     149
     150If not defined, build with wrc.exe.
     151If defined, build with rc.exe.
     152wrc.rc is the preferred resource compiler.