07 February 2018

wcc386

System: Microsoft Windows XP Home Edition
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz

Compiliation from source the v2 C and F77 fork.

For information on the 1.9 version, documentation, FLTK, and
links on C++ standards conformance, see the earlier entry.

Version 2.0 fork
https://sourceforge.net/projects/openwatcom/files/current-build/
open-watcom-2_0-c-win-x86.exe

http://open-watcom.github.io/open-watcom/

• New 2-phase build system, OW can be build by platform native C/C++
  compiler or by itself
• Code generator properly initialize pointers by DLL symbol addresses
• DOS version of tools now support long file names (LFN) if appropriate LFN
  driver is loaded by DOS
• OW is ported to 64-bit hosts (WIN64, Linux X64)
• Librarian support X64 CPU object modules and libraries
• RDOS 32-bit C run-time compact memory model libraries are fixed
• Resource compiler and Resource editors support WIN64 executables
• OW text editor is now self containing, it can be used as standalone tool
  without any requirements for any additional files or configuration
• Broken C++ compiler pre-compiled header template support is fixed
• Many C++ compiler crashes are fixed
• Debugger has no length limit for any used environment variable

https://github.com/open-watcom/open-watcom-v2
open-watcom-v2-master.zip

Install open-watcom-2_0-c-win-x86.exe into C:\Programmer\WATCOM without modifying the registry or file associations. Download open-watcom-v2-master.zip from GitHub, and extract it to C:\open-watcom-v2-master. Run the batch file owsetenv.bat for the binary installation and copy C:\open-watcom-v2-master\setvars.bat to C:\setvars.bat, then edit the value OWROOT to C:\open-watcom-v2-master, and OWDOCBUILD to 0. Make a folder C:\Programmer\ow and set OWRELROOT to C:\Programmer\ow. Run the batch file C:\setvars.bat, and then %OWROOT%\buildrel.bat.

Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\UserName>CD \

C:\>Programmer\WATCOM\owsetenv.bat
Open Watcom Build Environment

C:\>MKDIR %ProgramFiles%\ow

C:\>SET OWRELROOT=C:\Programmer\ow

C:\>setvars.bat
Open Watcom build environment

C:\open-watcom-v2-master>buildrel.bat

...

C:\open-watcom-v2-master>

The compile takes about 3 hours, after which you can copy C:\Programmer\WATCOM\owsetenv.bat,
and modify that copy for the C:\Programmer\ow directory.

These directories can be copied furthermore, editing the files therein
to point to C:\Programmer\ow and sub-directories, and later copied
- after uninstalling the pre-compiled version - back into their former
location.

%USERPROFILE%\Menuen Start\Programmer\Open Watcom C - C++
%USERPROFILE%\Menuen Start\Programmer\Open Watcom C - C++ Tools Help

The %WATCOM%\readme.w32 file you might want to copy to readme.txt as a CRLF file, so it opens in notepad.exe.

The (above) doesn't compile help files, so you may want to copy the C:\Programmer\WATCOM\binnt
.hlp files and the C:\Programmer\WATCOM\binnt\help directory, before you open the Control Panel
and remove Open Watcom.

C:\open-watcom-v2-master>DIR %ProgramFiles%\WATCOM\binnt\*.hlp
 Disken i drev C har ikke noget navn.
 Diskens serienummer er C804-10A1

 Indhold af C:\Programmer\WATCOM\binnt

02-04-2015  16:57           118.099 cbooks.hlp
02-04-2015  16:57           485.405 cguide.hlp
02-04-2015  16:59         1.653.725 clib.hlp
02-04-2015  17:00           282.845 clr.hlp
02-04-2015  17:00           668.483 cpplib.hlp
02-04-2015  17:00            86.991 cw.hlp
02-04-2015  16:57           304.086 c_readme.hlp
02-04-2015  17:00            78.230 ddespy.hlp
02-04-2015  17:00            68.554 drnt.hlp
02-04-2015  17:01            93.064 drwatcom.hlp
02-04-2015  17:01           187.361 editor.hlp
02-04-2015  17:03            97.268 heapwalk.hlp
02-04-2015  17:03           439.847 ide.hlp
02-04-2015  17:03           337.735 lguide.hlp
02-04-2015  17:04           417.891 pguide.hlp
02-04-2015  17:04            96.070 resacc.hlp
02-04-2015  17:04            62.365 rescomp.hlp
02-04-2015  17:04           117.447 resdlg.hlp
02-04-2015  17:04            71.765 resedt.hlp
02-04-2015  17:04           128.022 resimg.hlp
02-04-2015  17:04            86.613 resmnu.hlp
02-04-2015  17:04            70.666 resstr.hlp
02-04-2015  17:04           102.624 spy.hlp
02-04-2015  17:05           244.819 tools.hlp
02-04-2015  17:05           490.719 vi.hlp
02-04-2015  17:05           144.432 wbrw.hlp
02-04-2015  17:05           114.918 wccerrs.hlp
02-04-2015  17:05           556.654 wd.hlp
02-04-2015  17:06           410.754 wpperrs.hlp
02-04-2015  17:06            80.679 wprof.hlp
02-04-2015  17:06            22.093 zoom.hlp
              31 fil(er)        8.120.224 byte
               0 mappe(r)  61.716.275.200 byte ledig

C:\open-watcom-v2-master>

The contrib directory contains some additional libraries/programs which can be compiled.

C:\open-watcom-v2-master>DIR contrib
 Disken i drev C har ikke noget navn.
 Diskens serienummer er C804-10A1

 Indhold af C:\open-watcom-v2-master\contrib

03-11-2016  10:03    <DIR>          .
03-11-2016  10:03    <DIR>          ..
07-11-2016  22:16    <DIR>          bzip2
07-11-2016  22:16    <DIR>          dostrace
03-11-2016  10:03    <DIR>          extender
07-11-2016  22:16    <DIR>          libzip
07-11-2016  22:16    <DIR>          mp3lib
07-11-2016  22:16    <DIR>          tinyxml
07-11-2016  22:16    <DIR>          torture
07-11-2016  22:16    <DIR>          zlib
               0 fil(er)                0 byte
              10 mappe(r)  61.712.834.560 byte ledig

C:\open-watcom-v2-master>

Some of the files in C:\open-watcom-v2-master\build\bin might be of interest to copy,
namely the UNIX utilities.

C:\open-watcom-v2-master>DIR build\bin
 Disken i drev C har ikke noget navn.
 Diskens serienummer er C804-10A1

 Indhold af C:\open-watcom-v2-master\build\bin

08-11-2016  00:16    <DIR>          .
08-11-2016  00:16    <DIR>          ..
03-11-2016  10:03                 0 afile
08-11-2016  00:13            38.400 aliasgen.exe
08-11-2016  00:08           172.032 awk.exe
08-11-2016  00:13            39.424 bcwc.exe
08-11-2016  00:16            70.144 bdmpobj.exe
08-11-2016  00:13            48.640 bedbind.exe
08-11-2016  00:15           123.392 bide2mak.exe
08-11-2016  00:15            51.200 bmp2eps.exe
08-11-2016  00:08            76.288 builder.exe
08-11-2016  00:09           136.557 bwasaxp.exe
08-11-2016  00:09           267.585 bwasm.exe
08-11-2016  00:09           138.062 bwasmps.exe
08-11-2016  00:09           144.781 bwasppc.exe
08-11-2016  00:13            43.520 bwbind.exe
08-11-2016  00:11           743.424 bwcc.exe
08-11-2016  00:11           749.568 bwcc386.exe
08-11-2016  00:09            59.904 bwcl.exe
08-11-2016  00:09            59.904 bwcl386.exe
08-11-2016  00:16           318.245 bwdis.exe
08-11-2016  00:13           138.752 bwhc.exe
08-11-2016  00:15           830.464 bwipfc.exe
08-11-2016  00:08           155.648 bwlib.exe
08-11-2016  00:09           394.765 bwlink.exe
08-11-2016  00:13         1.200.128 bwpp.exe
08-11-2016  00:12         1.204.224 bwpp386.exe
08-11-2016  00:09           256.000 bwrc.exe
08-11-2016  00:09            41.984 bwstrip.exe
08-11-2016  00:08            66.674 cat.exe
08-11-2016  00:08            63.491 chmod.exe
08-11-2016  00:08            32.768 comstrip.exe
08-11-2016  00:08            84.962 cp.exe
08-11-2016  00:08            32.768 crlf.exe
08-11-2016  00:08            51.712 diff.exe
08-11-2016  00:13            90.112 dlgprs.exe
08-11-2016  00:08            73.022 egrep.exe
08-11-2016  00:16            38.912 errsrc.exe
08-11-2016  00:08            48.128 findhash.exe
08-11-2016  00:08            38.400 genverrc.exe
08-11-2016  00:13            48.640 hcdos.exe
08-11-2016  00:08            68.497 head.exe
08-11-2016  00:08            31.492 kanji.uni
08-11-2016  00:16            49.664 langdat.exe
08-11-2016  00:16            35.328 mkexezip.exe
08-11-2016  00:16            55.296 mkinf.exe
08-11-2016  00:08            55.296 msgencod.exe
08-11-2016  00:13            44.032 objchg.exe
08-11-2016  00:13            40.960 objfind.exe
08-11-2016  00:13            39.424 objlist.exe
08-11-2016  00:13            39.424 objxdef.exe
08-11-2016  00:13            41.472 objxref.exe
08-11-2016  00:08            52.736 optencod.exe
08-11-2016  00:13            34.816 parsectl.exe
08-11-2016  00:13            49.152 parsedlg.exe
08-11-2016  00:13            35.328 parsedyn.exe
08-11-2016  00:09            57.856 re2c.exe
08-11-2016  00:08            72.063 sed.exe
08-11-2016  00:08            47.754 sleep.exe
08-11-2016  00:08            56.752 sort.exe
08-11-2016  00:13            67.584 ssl.exe
08-11-2016  00:08            43.520 sweep.exe
08-11-2016  00:08            50.541 tee.exe
08-11-2016  00:08            51.182 tr.exe
08-11-2016  00:08            55.668 uniq.exe
08-11-2016  00:16            89.600 uzip.exe
08-11-2016  00:13            48.640 vicomp.exe
08-11-2016  00:08            69.664 wc.exe
08-11-2016  00:08            59.392 wcpp.exe
08-11-2016  00:08            51.638 which.exe
08-11-2016  00:13            87.552 whpcvt.exe
08-11-2016  00:08           116.736 wmake.exe
08-11-2016  00:08            48.640 wsplice.exe
08-11-2016  00:08            75.776 yacc.exe
              72 fil(er)        9.996.099 byte
               2 mappe(r)  61.713.870.848 byte ledig

C:\open-watcom-v2-master>EXIT