Changes between Initial Version and Version 1 of BuildingFAT32-0.10


Ignore:
Timestamp:
Nov 8, 2016, 9:20:32 PM (7 years ago)
Author:
Valery V. Sedletski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingFAT32-0.10

    v1 v1  
     1[[PageOutline]]
     2
     3= REQUIREMENTS: =
     4The following software is required:
     5
     6* OpenWatcom (version 1.9 is ok)
     7* OS/2 Toolkit 4.5 (included with OS/2 ACP/MCPs and eCS).
     8* Awk interpreter for converting Watcom map files to VAC map files
     9* FAT32 source code.
     10
     11= COMPILING: =
     12
     13To get a build going, you'll need several things;
     14
     15You should have Watcom C installed and it's environment variables set. You'll need to take the
     16buildw.cmd file in the sources root directory and modify the following environment variables
     17
     18set WATCOM=f:\dev\watcom[[BR]]
     19set TOOLKIT=f:\os2tk45[[BR]]
     20
     21Correct the paths as necessary. Buildw.cmd also calls %watcom%\owsetenv.cmd. This file must
     22exist and contain the usual Watcom environment, like this:
     23
     24SET PATH=f:\dev\watcom\BINW;%PATH%[[BR]]
     25SET PATH=f:\dev\watcom\BINP;%PATH%[[BR]]
     26SET BEGINLIBPATH=f:\dev\watcom\binp\dll[[BR]]
     27SET INCLUDE=f:\dev\watcom\H\OS2;%INCLUDE%[[BR]]
     28SET INCLUDE=f:\dev\watcom\H;%INCLUDE%[[BR]]
     29SET WATCOM=f:\dev\watcom[[BR]]
     30SET EDPATH=f:\dev\watcom\EDDAT[[BR]]
     31SET WIPFC=f:\dev\watcom\WIPFC[[BR]]
     32
     33Then run the _wcc.cmd script, and if all goes well you should have a fresh build of FAT32.IFS. There are also buildi.cmd for ICC and buildm.cmd for MSC in the root directory. They are called by _icc.cmd or _msc.cmd in each subdir. So, to build sources in each subdir, you need just tap Enter on _wcc.cmd/_msc.cmd/_icc.cmd.
     34
     35Also note that for creating *.sym files for fat32 binaries, you'll need the awk interpreter (awk.exe). You can use GNU awk (GAWK) for that. To install it, use
     36
     37{{{
     38yum install gawk
     39}}}
     40
     41to install it from yum/rpm repository. The binary is called gawk.exe, so you may need to create a symlink gawk.exe -> awk.exe. For creating the *.sym file, the Watcom map file (*.wmp) is taken. Then it gets converted to a VAC map file (*.map) by mapsym.awk AWK script. And finally, mapsym.exe from OS/2 Toolkit is used to convert *.map to *.sym.
     42
     43Note that all you need for compiling the sources is Watcom installation. DDK is not needed as all needed headers present in the sources. The only external things needed are awk.exe from yum repo and mapsym.exe from OS/2 Toolkit.