README.BeOS
author Sam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 07:32:26 +0000
branchSDL-1.2
changeset 4209 62e86ab81e3c
parent 1371 e2641c13bf33
permissions -rw-r--r--
Fixed bug #570

SDL_SemWaitTimeout in src/thread/generic/SDL_syssem.c line 179 (SVN trunk):

--sem->count;

should be

if (retval == 0) {
--sem->count;
}

Without this, sem->count will underflow on timeout effectively breaking the
semaphore. It appears that the implementation has been wrong since the initial
revision.
slouken@1371
     1
slouken@1371
     2
SDL on BeOS R5
slouken@1371
     3
==============
slouken@1371
     4
slouken@1371
     5
You can build SDL on BeOS like any other GNU style package.
slouken@1371
     6
e.g. ./configure && make && make install
slouken@1371
     7
By default it is installed in /boot/develop/tools/gnupro/{bin,lib,etc.}
slouken@1371
     8
slouken@1371
     9
Once you install SDL, you need to copy libSDL.so to /boot/home/config/lib,
slouken@1371
    10
so it can be found by the dynamic linker.
slouken@1371
    11
slouken@1371
    12
Enjoy!
slouken@1371
    13
	Sam Lantinga				(slouken@libsdl.org)