Jump to content

Compiling HWMan WPS Class on ArcaOS 5.x: Difference between revisions

From EDM2
Line 13: Line 13:


===Installing VisualAge C++ V3.6.5===
===Installing VisualAge C++ V3.6.5===
Installing VisualAge C++ can be tricky since you need Netscape navigator to work as the installer tool. The good thing is that the installer includes Netscape on the list. So you can install Netscape on ArcaOS (if you didn't install it when you install the OS) from it.
The install procedure is just very normal. You can only install the "basic" components of this tool and it will work for this exercise.


===CONFIG.SYS===
===CONFIG.SYS===

Revision as of 17:21, 10 December 2018

By Martin Iturbide

This article is the result of my exercise of trying to compile a WPS class on 2018. On this case I had choosen to compile HWMan WPS Class to learn about the built procedure.

Software Required

  • VisualAge C++ V3.6.5 (with fixpack 2)
  • IBM Device Driver Kit
  • NMAKE
  • emxupd.exe [1]
  • HWMan Source Code

Preparing the Environment

Installing VisualAge C++ V3.6.5

Installing VisualAge C++ can be tricky since you need Netscape navigator to work as the installer tool. The good thing is that the installer includes Netscape on the list. So you can install Netscape on ArcaOS (if you didn't install it when you install the OS) from it.

The install procedure is just very normal. You can only install the "basic" components of this tool and it will work for this exercise.

CONFIG.SYS

Here it is a final view of some key elements of the config.sys paths and libpaths.

Compile Procedure

Checking the "make" file

Make Procedure

  • "nmake" to do a normal build
  • "nmake "DEBUG=1"" to build with debug info
  • "nmake -a" to rebuild all
  • "nmake -a "DEBUG=1"" to rebuild all with debug info

Tools and Compiler Versions

This are the versions of each tool and compiler I used:

  • icc.exe - 2000-11-24 12:44a / 3.6 FP2 / 57,078 bytes
  • sc.exe - 1999-06-30 11:12p / 50,296 bytes
  • alp.exe - 2001-05-25 / 4.00.008 / 466,944 bytes
  • rc.exe - 2003-01-30 / 5.00.007 / 399,538 bytes / IBM RC (Resource Compiler) Version 5.00.007 Jan 30 2003
  • ilink.exe - 2000-11-24 1:27a / 03.06.PPK1001120 / 110,247 bytes /IBM Version. Version 3.6 with Fixpack 2.
  • dllrname.exe - 2000-11-24 1:26a / 35,679 bytes / IBM C/C++ Tools Version 2.0 - DLL Rename Utility
  • emxupd.exe - 1998-12-19 9:27p / 34,304 bytes