README.DC
author Ryan C. Gordon
Thu, 18 Aug 2005 06:06:02 +0000
changeset 1118 65f4b2dd46b7
parent 509 dad72daf44b3
child 1460 d79e6b0c2c19
permissions -rw-r--r--
Date: Wed, 17 Aug 2005 11:23:40 -0400
From: Matt L <prometheus.uw@gmail.com>
To: "Ryan C. Gordon" <icculus@clutteredmind.org>
Subject: SDL Patch

Hio,

I saw your last call on the mailing list. Here's a patch which I
submitted about two weeks ago which hasn't made it in.

In the current sdl.m4, there's a bug where if your configure.ac, you
have AC_LANG(C++) specified, it won't properly compile and link the SDL
test program when you run the configure script. This is because only the
default CFLAGS is overriden in sdl.m4, and in the patch below, I've
fixed it so it overrides CXXFLAGS as well, allowing it to work with g++.
slouken@509
     1
SDL for Dreamcast (beta2)
slouken@509
     2
slouken@509
     3
	BERO
slouken@509
     4
	bero@geocities.co.jp
slouken@509
     5
slouken@509
     6
	http://www.geocities.co.jp/Playtown/2004/
slouken@509
     7
slouken@509
     8
this work with kos-newlib
slouken@509
     9
http://sourceforge.net/projects/dcquake/
slouken@509
    10
slouken@509
    11
compile
slouken@509
    12
- edit KOS_BASE in Makefie.dc for your enviroment
slouken@509
    13
- make -f Makefile.dc
slouken@509
    14
slouken@509
    15
FIXME: The KOS thread files can be found on HERO's site - not in the SDL source.
slouken@509
    16
- overwrite thread/*.c to kos-1.1.7/kernel/thread
slouken@509
    17
- rebuild kos
slouken@509
    18
slouken@509
    19
compile with gl support
slouken@509
    20
- install latest libgl from http://sourceforge.net/projects/dcquake/
slouken@509
    21
- uncomment GL=1 in Makefile.dc
slouken@509
    22
- make -f Makefile.dc clean
slouken@509
    23
- make -f Makefile.dc
slouken@509
    24
slouken@509
    25
install
slouken@509
    26
- copy include/*.h and libSDL.a or libSDL_gl.a for your enviroment
slouken@509
    27
slouken@509
    28
changelog:
slouken@509
    29
slouken@509
    30
beta2
slouken@509
    31
- OpenGL support
slouken@509
    32
- Hardware page flip support
slouken@509
    33
slouken@509
    34
beta
slouken@509
    35
- thread, timer don't tested so much.
slouken@509
    36
- not support OpenGL
slouken@509
    37