Fixed bug #818
authorSam Lantinga <slouken@libsdl.org>
Tue, 15 Dec 2009 20:11:29 +0000
changeset 35688c72321542f6
parent 3567 fb9ea4b549c3
child 3569 7f743e9b0b5b
Fixed bug #818

Daniele Forghieri 2009-10-12 02:52:02 PDT

Updated makefile & Doc for Open Watcom 1.8
README.Watcom
Watcom-Win32.zip
     1.1 --- a/README.Watcom	Tue Dec 15 18:00:16 2009 +0000
     1.2 +++ b/README.Watcom	Tue Dec 15 20:11:29 2009 +0000
     1.3 @@ -1,29 +1,30 @@
     1.4  
     1.5 -Using SDL under Windows with the OpenWatcom compiler
     1.6 +Using SDL 1.3 under Windows with the OpenWatcom compiler
     1.7 +
     1.8  ====================================================
     1.9  
    1.10  Prerequisites
    1.11  -------------
    1.12  
    1.13 -I have done the port under Windows XP Home with SP2 installed. Windows
    1.14 -2000 should also be working. I'm not so sure about ancient Windows NT,
    1.15 +I have done the port under Windows XP Professional with SP2 installed.
    1.16 +Windows 2000 should also be working. I'm not so sure about ancient Windows NT,
    1.17  since only DirectX 3 is available there. Building should be possible,
    1.18  but running the compiled applications will probalbly fail with
    1.19  SDL_VIDEODRIVER=directx. The windib driver should work, though.
    1.20  
    1.21  To compile and use the SDL with Open Watcom you will need the following:
    1.22 -- Open Watcom compiler. I used version 1.5. The environment variables
    1.23 +- Open Watcom compiler. I used version 1.8. The environment variables
    1.24    PATH, WATCOM and INCLUDE need to be set appropriately - please consult
    1.25    the OpenWatcom documentation and instructions given during the
    1.26    installation of the compiler.
    1.27    My setup looks like this in owvars.bat:
    1.28 -    set WATCOM=C:\watcom
    1.29 +    set WATCOM=C:\dev\ow18
    1.30      set INCLUDE=%WATCOM%\h;%WATCOM%\h\nt
    1.31      set PATH=%PATH%;%WATCOM%\binnt;%WATCOM%\binw
    1.32 -- A fairly recent DirectX SDK. The original unmodified DX8 SDK works, as
    1.33 -  well as the minimal DirectX 7 SDK from the Allegro download site
    1.34 -  (<http://alleg.sourceforge.net/files/dx70_min.zip>).
    1.35 -- The SDL sources from Subversion
    1.36 +- A recent DirectX SDK. The library needs D3d9.h so at leat the
    1.37 +  directx 9 sdk is to be used. I used DirectX 10 SDK from August 2009
    1.38 +  taken directly from the microsoft site.
    1.39 +- The SDL 1.3 sources from Subversion
    1.40  - The file Watcom-Win32.zip (now available in Subversion)
    1.41  
    1.42  
    1.43 @@ -33,13 +34,12 @@
    1.44  1) In the SDL base directory extract the archive Watcom-Win32.zip. This
    1.45     creates a subdirectory named 'watcom'.
    1.46  2) The makefile expects the environment variable DXDIR to be set to the
    1.47 -   base directory of a DirectX SDK. I have tried a stock DX8 SDK from
    1.48 -   Microsoft as well as the minimal DirectX 7 SDK from the Allegro
    1.49 -   download site.
    1.50 +   base directory of a DirectX SDK. I have tried the August 2009
    1.51 +   DirectX SDK from Microsoft
    1.52     You can also edit the makefile directly and hard code your path to
    1.53     the SDK on your system.
    1.54     I have this in my setup:
    1.55 -     set DXDIR=D:\devel\DX8_SDK
    1.56 +     set DXDIR=..\dx10
    1.57  3) Enter the watcom directory and run
    1.58       wmake sdl
    1.59  4) All tests from the test directory are working and can be built by
    1.60 @@ -71,9 +71,9 @@
    1.61   The library can also be built with the stack calling convention of the
    1.62   compiler (-6s instead of -6r).
    1.63  
    1.64 -
    1.65  Test applications
    1.66  -----------------
    1.67 +$FixME: which test works ? which one compiles ?
    1.68  
    1.69  I've tried to make all tests work. The following table gives an overview
    1.70  of the current status.
    1.71 @@ -126,8 +126,14 @@
    1.72  Questions and Comments
    1.73  ----------------------
    1.74  
    1.75 -Please direct any questions or comments to me:  <mailto:macpete@gmx.de>
    1.76 +Please direct any questions or comments to me:
    1.77 +
    1.78 +        ow_sdl [at] digitalfantasy [dot] it
    1.79 +
    1.80 +The original porting to the open watcom compiler was made by
    1.81 +Marc Peter <mailto:macpete@gmx.de>
    1.82  
    1.83     Happy Coding!
    1.84  
    1.85 -   Marc Peter
    1.86 +   Daniele Forghieri
    1.87 +
     2.1 Binary file Watcom-Win32.zip has changed