README.BeOS
author Sam Lantinga <slouken@libsdl.org>
Tue, 17 Feb 2009 05:25:25 +0000
branchSDL-1.2
changeset 4163 bec67d0b6645
parent 1371 e2641c13bf33
permissions -rw-r--r--
Fixed bug #646

Description From Pavol Rusnak 2008-11-27 05:51:44 (-) [reply]

src/video/fbcon/SDL_fbvideo.c:283: warning: ordered comparison of pointer with
integer zero

The source code is

if (fgets(line,length,f)<=0)

Suggest replace with

if (fgets(line,length,f) == 0)
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)