README.Win32
author Sam Lantinga <slouken@libsdl.org>
Mon, 11 Mar 2002 17:38:56 +0000
changeset 309 2de77f7b7a28
parent 274 051b991765ba
permissions -rw-r--r--
*** empty log message ***
     1 
     2 ==============================================================================
     3 Using the Simple DirectMedia Layer with Windows 95,NT
     4 ==============================================================================
     5 
     6 These instructions are for people using the GNU free compilers.
     7 If you want to use Microsoft VC++ with SDL, read "VisualC.html" or 
     8 if you want to use Borland C++ Builder or the free Borland compiler,
     9 read "BorlandC.html".
    10 
    11 ==============================================================================
    12 I.  Building the Simple DirectMedia Layer libraries:
    13     (This step isn't necessary if you have the SDL binary distribution)
    14 
    15   First, get gcc compiler for Win32, which can be found at:
    16 	http://www.libsdl.org/Xmingw32/index.html
    17 
    18   Grab the cross configure and make scripts, and then run:
    19 	sh cross-configure.sh
    20 	sh cross-make.sh install
    21   If you have already built SDL natively, you must do "make distclean"
    22   before you build for Win32.
    23 
    24   If everything compiles successfully, you now have SDL.dll and gcc archive
    25   libraries libSDLmain.a and libSDL.a installed in /usr/local/cross-tools/
    26 
    27 ==============================================================================
    28 II. Building the Simple DirectMedia Layer test programs:
    29 
    30   This is easy once you have built the libraries:
    31 
    32 	cd test; sh ../cross-configure.sh; sh ../cross-make.sh
    33 
    34 ==============================================================================
    35 III. Building the Simple DirectMedia Layer demo programs:
    36 
    37   Go to the directory containing the demo you want to build and type:
    38 
    39 	sh cross-configure.sh; sh cross-make.sh
    40 
    41   Be sure to rename the demo to use the .exe extension, or Windows will
    42   not be able to execute it.
    43 
    44 ==============================================================================
    45 IV.  Enjoy! :)
    46 
    47   If you have a project you'd like me to know about, or want to ask questions,
    48   go ahead and join the SDL developer's mailing list by sending e-mail to:
    49 
    50 	sdl-request@libsdl.org
    51 
    52   and put "subscribe" into the subject of the message. Or alternatively you
    53   can use the web interface:
    54 
    55 	http://www.libsdl.org/mailman/listinfo/sdl
    56   
    57 ==============================================================================
    58