-------------------------------
After succesful compilation you'll find the libraries in a subdirectory
-of lib directory named after the compiler and DLL/staitc settings.
+of lib directory named after the compiler and DLL/static settings.
A couple of examples:
lib\vc_lib VC++ compiled static libraries
- If using GnuWin32 b18, you will need to copy windres.exe
from e.g. the MinGW distribution, to a directory in your path.
+
Symantec & DigitalMars C++ compilation
--------------------------------------
The DigitalMars compiler is a free succssor to the Symantec compiler
1. You need to download and unzip in turn (later packages will overwrite
older files)
- Digital Mars C/C++ Compiler Version 8.34 or 8.35
+ Digital Mars C/C++ Compiler Version 8.38 or later
Basic utilities
- from http://www.digitalmars.com/download/freecompiler.html [26 Aug 03, CE]
+ from http://www.digitalmars.com/download/freecompiler.html
-2. Change directory to src\msw. Type 'make -f makefile.sc' to
+2. Change directory to build\msw and type 'make -f makefile.dmc' to
make the wxWindows core library.
-3. Change directory to samples\minimal and type 'make -f makefile.sc'
+
+3. Change directory to samples\minimal and type 'make -f makefile.dmc'
to make this sample. Most of the other samples also work.
+Note that if you don't have the files makefile.dmc you may create them yourself
+using bakefile tool according to the instructions in build\bakefiles\README:
+
+ cd build\bakefiles
+ bakefile_gen -f dmars -b wx.bkl
+ bakefile_gen -f dmars -b ../../samples/minimal/minimal.bkl
+
+
16-bit compilation is no longer supported.
Configuring the build
information compiled into object files and the executable.
SHARED=0
- Build static libraries instead of DLLs. By default, DLLs are build
+ Build static libraries instead of DLLs. By default, DLLs are built
(SHARED=1).
UNICODE=1
wxmsw250_core_bcc_mycorp.dll.
CFG=<configuration name>
- Sets configuration name so that you can have multiple wxWindows build with
+ Sets configuration name so that you can have multiple wxWindows builds with
different setup.h settings coexisting in same tree. See "Object and library
directories" below for more information.
lib\bcc_dllMyBuild
etc.
-By now it is clear for CFG is for: builds with different CFG settings don't
+By now it is clear what CFG is for: builds with different CFG settings don't
share any files and they use different setup.h files. This allows you to e.g.
have two static debug builds, one with wxUSE_SOCKETS=0 and one with sockets
enabled (without CFG, both of them would be put into same directory and there
-would be conflict between the files).
+would be conflicts between the files).
General Notes
=============