next up previous contents index
Next: 3.1.3 Configuring the run-time Up: 3.1 Configuring, building and Previous: 3.1.1 Overview

3.1.2 Building the twin libraries

 
1.
Configure the software   The software is configurable for different platforms by using the configure script. (This script is built using the GNU autoconf utility and the configure.in input file)

Table 3.1 lists the options that the configuration script understands and the default build options:


 
Option Description DEFAULT
-enable-optimization build optimized version to build debugging version
-enable-win16 build win16 version to build win32 support
-enable-debugger enable internal debugger NOT to build DEBUGGER library
-enable-bin32 enable win32 binary support NOT to build win32 binary support
Table 3.1: Configure Script Options

This script will create three files that will be included by the various makefiles.

./Makefile.config contains options set by configure.

2.
Make makefile dependencies, and build clean environment

After running/re-running configure, remove old object files by running

make clean

To recreate the original clean source tree, run

make clobber

3.
Make the Willows TWIN Libraries and xwin utility

To build all the build tools, shared libraries and windows emulator, xwin or xwin32, run

make

The component libraries that are built are shown in table 3.2:


 
libtwin32.so functions for USER, KERNEL and GDI
libcommdlg.so all functions from COMMDLG.DLL
libcomctl32.so all functions from COMMCTRL.DLL
libshell32.so all functions from SHELL.DLL
libwinsock.so all functions from WINSOCK.DLL
libmmsystem.so all functions from MMSYSTEM.DLL
libkeyboard.so all functions from KEYBOARD.DLL
libsound.so all functions from SOUND.DLL
libddeml.so all functions from DDEML.DLL
liblz32.so all functions from LZEXPAND.DLL
libdebug.so the debugging library
libpe32.so the win32 binary loader
libtoolhelp.so
Table 3.2: Component Libraries

4.
To build the source samples, you can type

make world


next up previous contents index
Next: 3.1.3 Configuring the run-time Up: 3.1 Configuring, building and Previous: 3.1.1 Overview
Send corrections/suggestions via e-mail to: Rob Penrose