Changes between Version 7 and Version 8 of BuildingFm2
- Timestamp:
- Sep 27, 2007, 9:26:49 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingFm2
v7 v8 1 1 2 = BUILDING FILEMANAGER/2 (FM/2) = 2 3 4 This document explains how to build FM/2 from source. 3 5 4 == '''BUILDING FILEMANAGER/2 (FM/2)''' == 5 6 7 This document explains how to build FM/2 from source.[[BR]] 8 [[BR]] 9 10 11 '''Tools[[BR]] 12 ====''' 6 == Tools == 13 7 14 8 The following tools are currently used to build the FM/2 binaries 15 9 16 OpenWatcom V1.6 or newer[[BR]]17 IBM Developers Toolkit v4.5[[BR]]18 lxlite LX compressor[[BR]]10 * [http://www.openwatcom.org OpenWatcom] 11 * rc.exe from the IBM Developers Toolkit v4.5 12 * lxlite LX compressor 19 13 20 Older versions of the Toolkit may work. The OpenWatcom implementation of 21 the Toolkit should work. There are no known special setup requirements. 14 [http://www.openwatcom.org OpenWatcom] v1.6 or newer should work. There are no known special setup requirements. 15 16 Older versions of the IBM Toolkit may work. The Toolkit is on your eComStation CD#2. 22 17 23 18 Not all versions of RC.EXE are created equal. Currently, the best version to use is 24 19 25 12-18-97 6:01 868,000 0 RC.EXE20 12-18-97 6:01 868,000 0 RC.EXE 26 21 27 22 which reports itself as 28 23 29 IBM RC (Resource Compiler) Version 5.00.002 Dec 18 199724 IBM RC (Resource Compiler) Version 5.00.002 Dec 18 1997 30 25 31 26 and it is available from 32 33 <ftp://ftp.software.ibm.com/ps/products/warpzilla/os2tk40rc.zip> 27 [ftp://ftp.software.ibm.com/ps/products/warpzilla/os2tk40rc.zip Toolkit update for Mozilla] 34 28 35 29 You can get LXLITE.EXE from 30 [http://hobbes.nmsu.edu/cgi-bin/h-search?key=lxlite&pushbutton=Search lxlite from Hobbes] 36 31 37 <http://hobbes.nmsu.edu/cgi-bin/h-search?key=lxlite&pushbutton=Search> 38 39 You can get OpenWatcom from 40 41 <http://www.openwatcom.org> 42 43 44 '''Building[[BR]] 45 ======''' 32 == Building == 46 33 47 34 Use subversion to pull a copy of the source code distribution into your 48 client workspace. See 35 client workspace. See [wiki:/ Getting the Sources] for instructions. 49 36 50 <http://svn.netlabs.org/fm2> 51 52 for instructions on how to do this. 53 54 55 ''All build commands must be run from inside the Trunk directory containing the source code.'' 56 37 Run the build commands must be run from top directory of your Subversion workspace. The directory will contain the top level makefile. 57 38 58 39 Build the release version with 59 40 {{{ 60 41 wmake DEBUG=0 61 42 }}} 62 43 or 63 64 set DEBUG=0 [[BR]]44 {{{ 45 set DEBUG=0 65 46 wmake all 47 }}} 66 48 67 49 Build the debug version with 50 {{{ 51 wmake DEBUG=1 52 }}} 53 or 54 {{{ 55 set DEBUG=1 56 wmake all 57 }}} 68 58 69 wmake DEBUG=1 70 71 or 72 73 set DEBUG=1[[BR]] 74 wmake all 59 When switching between debug and release builds, add the -a switch to the wmake command line. This forces all files to be rebuilt. 75 60 76 61 The build outputs are: 77 62 78 av2.exe[[BR]]79 databar.exe[[BR]]80 dirsize.exe[[BR]]81 eas.exe[[BR]]82 fm3.exe[[BR]]83 fm4.exe[[BR]]84 global.exe[[BR]]85 ini.exe[[BR]]86 killproc.exe[[BR]]87 sysinfo.exe[[BR]]88 undel.exe[[BR]]89 vcollect.exe[[BR]]90 vdir.exe[[BR]]91 viewinfs.exe[[BR]]92 vtree.exe63 * av2.exe 64 * databar.exe 65 * dirsize.exe 66 * eas.exe 67 * fm3.exe 68 * fm4.exe 69 * global.exe 70 * ini.exe 71 * killproc.exe 72 * sysinfo.exe 73 * undel.exe 74 * vcollect.exe 75 * vdir.exe 76 * viewinfs.exe 77 * vtree.exe 93 78 94 dll\fm3dll.dll[[BR]] 95 dll\fm3res.dll 79 * dll\fm3dll.dll 80 * dll\fm3res.dll 81 * dll\fm3res.str 82 * dll\ipf\fm3.hlp 96 83 84 * internal\mkstr.exe 97 85 98 dll\fm3res.str 99 100 dll\ipf\fm3.hlp 101 102 internal\mkstr.exe 103 [[BR]] 104 105 '''Compressing Dlls and Exes:[[BR]] 106 =========================''' 86 == Compressing Dlls and Exes == 107 87 108 88 Lxlite.exe needs to be in a directory listed in the PATH statement of your config.sys or build enviroment cmd file. 109 89 110 90 To compress exe/dlls, run 91 {{{ 92 wmake lxlite 93 }}} 111 94 112 wmake lxlite 113 [[BR]] 114 [[BR]] 115 116 '''Release Packaging[[BR]] 117 ================''' 95 == Release Packaging == 118 96 119 97 FM/2 is released as a WarpIN package. 120 98 121 99 The basic process is 100 {{{ 101 wmake wpi 102 }}} 103 See [wiki:WPIBuild] for more details. 122 104 123 wmake wpi 124 125 See 126 127 <http://svn.netlabs.org/fm2/wiki/WPIBuild> 128 129 for more details. 130 [[BR]] 131 [[BR]] 132 133 '''Building, Compressing, and Packaging with a Single CMD Statement[[BR]] 134 ===================================================''' 105 == Building, Compressing, and Packaging with a Single CMD Statement == 135 106 136 107 Open a text editor and add the following lines. 137 138 set debug=0 [[BR]]139 wmake all && wmake lxlite && wmake wpi [[BR]]140 108 {{{ 109 set debug=0 110 wmake all && wmake lxlite && wmake wpi 111 }}} 141 112 Save file naming it possibly Build_FM2.cmd. Copy the file to your FM2 source code "trunk" directory. It must be run from inside this directory to build, compress, and make the wpi file. After running, open the "Warpin" subdirectory located in the "trunk" directory. The Warpin file will be build inside this directory. 142 113 143 144 '''About FM/2[[BR]] 145 =========''' 114 == About FM/2 == 146 115 147 116 FM2 was originally written by 148 149 Mark Kimes 150 <hectorplasmic@worldnet.att.net> 117 [mailto:hectorplasmic@worldnet.att.net Mark Kimes] 151 118 152 119 He has kindly allowed us to take over maintenance and support of FM/2 and to release the program under the GNU GPL license. I'm sure he would appreciate a Thank You note for his generosity. 153 [[BR]]154 [[BR]]155 120 156 '''Support[[BR]] 157 ======''' 121 == Support == 158 122 159 FM/2 is a Netlabs project. The project URL is 123 FM/2 is a Netlabs project. The project URL is [wiki:/ fm/2] 160 124 161 <http://svn.netlabs.org/fm2> 162 163 The user support mailing list is 164 165 <mailto:fm2-user@netlabs.org> 125 The user support mailing list is at [mailto:fm2-user@netlabs.org fm/2 Users Mailing List] 166 126 167 127 Like all Netlabs mailing list, this is mirrored to gmane. … … 169 129 In addition the maintainers, monitor the comp.os.os2.programmer.misc newsgroup and others in the comp.os.os2.* hierarchy. 170 130 171 There is also an archived Yahoo group at 172 173 http://tech.groups.yahoo.com/group/fm2user/ 131 There is also an archived Yahoo group at http://tech.groups.yahoo.com/group/fm2user/ 174 132 175 133 The list is closed to new posts, but contains some useful info. 176 134 177 135 If all else fails, you can always e-mail me directly at 178 179 Steven H. Levine 180 steve53@earthlink.net 136 [mailto:steve53@earthlink.net Steven H. Levine] 181 137 182 138 Thanks and enjoy. 183 139 184 140 $Id$ 185 [[BR]] 141