
Compiling wxWindows 1.50 with the Symantec C++ Compiler
========= ========= ==== ==== === ======== === ========

This has been tested with the 1.50i beta release of wxWindows and the
Symantec C++ compiler version 6.0. Makefiles "makefile.sc" are provided
for creating the wx and fafa libraries, the utilities and the samples.
(No makefile for the wxClips stuff, since without the clips package I
had no means to check it out.) Some source patches were required to make
wxWindows compile with Symantec C++, see below.

02-02-1994 Albert Graef <ag@muwiinfa.geschichte.uni-mainz.de>

Compilation:
============

Set the WX environment variable to the directory in which you keep the
wxwin distribution. For instance:

	set wx=c:\wx150

Then edit the makefiles in src, contrib\fafa and the utility and sample
directories to change settings if desired. In particular, set the OPTIONS
variable accordingly if you want to use the fafa or ctl3d library contained
in the contrib directory.

* Change to the src directory and edit makefile.sc. Build the wxWindows
  library with "make -f makefile.sc". This will leave wx.lib in the lib
  directory.

* If you are using the fafa library, change to the contrib\fafa dir and
  edit makefile.sc. Invoke "make -f makefile.sc" to build fafa.lib in the
  contrib\fafa directory.

* To use the CTL3D libary, copy ctl3d.lib, ctl3d.dll and ctl3d.h from
  contrib\ctl3d to the appropriate directories (see install.txt).

* To compile the utilities and the samples, change to the corresponding
  directories and invoke the corresponding .sc makefiles.

All makefiles provide the target "clean" with which you can get rid of
all objects, executables, etc., which were created with "make". Further-
more, some of the utilities include test programs which can be built with
"make -f makefile.sc test.exe" or something similar.

Source Patches:
===============

The following patches were required because Symantec C++ currently
does not provide the ftime/gettime functions. The patches are implemented
by corresponding #ifdef's in the mentioned sources.

* include\base\wb_timer.h:

Don't include <sys/timeb.h>.

* src\base\wb_timer.cc:

Replaced ftime/gettimeofday by the standard time/localtime functions.
Sorry, this means that milliseconds will not be available. :-(

* src\msc\wx_timer.cc:

Don't include <sys/timeb.h>.
