README.Win32
author Sam Lantinga <slouken@libsdl.org>
Fri, 14 Dec 2001 13:13:20 +0000
changeset 254 4fc12b8edf74
parent 253 b23d3c5a32f3
child 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"
     8 
     9 ==============================================================================
    10 I.  Building the Simple DirectMedia Layer libraries:
    11     (This step isn't necessary if you have the SDL binary distribution)
    12 
    13   First, get gcc compiler for Win32, which can be found at:
    14 	http://www.libsdl.org/Xmingw32/index.html
    15 
    16   Grab the cross configure and make scripts, and then run:
    17 	sh cross-configure.sh
    18 	sh cross-make.sh install
    19   If you have already built SDL natively, you must do "make distclean"
    20   before you build for Win32.
    21 
    22   If everything compiles successfully, you now have SDL.dll and gcc archive
    23   libraries libSDLmain.a and libSDL.a installed in /usr/local/cross-tools/
    24 
    25 ==============================================================================
    26 II. Building the Simple DirectMedia Layer test programs:
    27 
    28   This is easy once you have built the libraries:
    29 
    30 	cd test; sh ../cross-configure.sh; sh ../cross-make.sh
    31 
    32 ==============================================================================
    33 III. Building the Simple DirectMedia Layer demo programs:
    34 
    35   Go to the directory containing the demo you want to build and type:
    36 
    37 	sh cross-configure.sh; sh cross-make.sh
    38 
    39   Be sure to rename the demo to use the .exe extension, or Windows will
    40   not be able to execute it.
    41 
    42 ==============================================================================
    43 IV.  Enjoy! :)
    44 
    45   If you have a project you'd like me to know about, or want to ask questions,
    46   go ahead and join the SDL developer's mailing list by sending e-mail to:
    47 
    48 	sdl-request@libsdl.org
    49 
    50   and put "subscribe" into the subject of the message. Or alternatively you
    51   can use the web interface:
    52 
    53 	http://www.libsdl.org/mailman/listinfo/sdl
    54   
    55 ==============================================================================
    56