Mercurial > sdl-ios-xcode
view README.Win32 @ 19:8cc4dbfab9ab
Date: Thu, 19 Apr 2001 08:36:54 +0300
From: "Mike Gorchak" <mike@malva.com.ua>
Subject: Patches for QNX RtP
Here my patch for QNX RtP/Photon for SDL-1.2.
Detailed description of my changes:
SDL/configure.in:
If Photon detected declare define ENABLE_PHOTON.
SDL/src/video/SDL_sysvideo.h:
Added extern to ph_bootstrap.
SDL/src/video/SDL_video.c:
Added ph_bootstrap to bootstrap array.
SDL/src/video/photon/SDL_ph_events.c:
Declare DISABLE_X11 if compiled for Photon.
SDL/src/video/photon/SDL_ph_image.c:
Fixed segment violation on exit. Please update BUGS file.
SDL/src/video/photon/SDL_ph_video.c:
1. Enabling window manager.
2. Added to device capabilities Photon Window Manager functions:
SetCaption and IconifyWindow.
3. Renamed X11_bootstrap to ph_bootstrap.
4. Removed SEGFAULT termination of programs if Photon not available.
SDL/src/video/photon/SDL_ph_wm.c:
1. Declare DISABLE_X11 if compiled for Photon.
2. Added ph_SetCaption and ph_IconifyWindow code. (Thanks to
'phearbear' for iconify window source).
3. Some stubers for other wm functions.
Thanks !
----------------------------
Mike Gorchak
CJSC Malva
System Programmer
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 10 May 2001 18:42:17 +0000 |
parents | 74212992fb08 |
children | b23d3c5a32f3 |
line wrap: on
line source
============================================================================== Using the Simple DirectMedia Layer with Windows 95,NT ============================================================================== These instructions are for people using the GNU free compilers. If you want to use Microsoft VC++ with SDL, read "VisualC.html" ============================================================================== I. Building the Simple DirectMedia Layer libraries: (This step isn't necessary if you have the SDL binary distribution) First, get gcc compiler for Win32, which can be found at: http://www.libsdl.org/Xmingw32/index.html Grab the cross configure and make scripts, and then run: sh cross-configure.sh sh cross-make.sh install If you have already built SDL natively, you must do "make distclean" before you build for Win32. If everything compiles successfully, you now have SDL.dll and gcc archive libraries libSDLmain.a and libSDL.a installed in /usr/local/cross-tools/ ============================================================================== II. Building the Simple DirectMedia Layer test programs: This is easy once you have built the libraries: cd test; sh ../cross-configure.sh; sh ../cross-make.sh ============================================================================== III. Building the Simple DirectMedia Layer demo programs: Go to the directory containing the demo you want to build and type: sh cross-configure.sh; sh cross-make.sh Be sure to rename the demo to use the .exe extension, or Windows will not be able to execute it. ============================================================================== IV. Enjoy! :) If you have a project you'd like me to know about, or want to ask questions, go ahead and join the SDL developer's mailing list by sending e-mail to: majordomo@lokigames.com and put the line "subscribe sdl" in the body of the message. ==============================================================================