Mercurial > hg > forks > 3x666-SDL
comparison README @ 40:61822816bba8
Added a new README.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 19 Mar 2013 03:34:09 +0200 |
parents | |
children | 8a7589da1bec |
comparison
equal
deleted
inserted
replaced
39:da3a7c376a84 | 40:61822816bba8 |
---|---|
1 3x666 by ocsa (c) 1998 | |
2 An intro for *NIX/Linux | |
3 | |
4 Original code, music, graphics by viznut/PWP (and ocsa) | |
5 | |
6 Ported to libSDL by ccr/TNSP^PWP <ccr@tnsp.org> in March of 2013 | |
7 | |
8 | |
9 Building | |
10 ======== | |
11 To build for *NIX style platforms, you need | |
12 | |
13 - A working C compiler, GCC 4.7 or clang 3.0 (LLVM 3.0) should work. | |
14 - Make (GNU Make preferred) | |
15 - libSDL 1.2. tested with 1.2.15 + development headers | |
16 | |
17 $ make | |
18 | |
19 ... | |
20 | |
21 It is possible to cross-compile for Win32 using *NIX-hosted MinGW | |
22 cross-compiler, as available in Debian for example. You will also | |
23 need to have libSDL cross-compiled for the target, of course. | |
24 | |
25 At least binutils-mingw-w64-i686 gcc-mingw-w64-i686 mingw-w64-i686-dev | |
26 are needed .. 64-bit build should be possible as well, but you need | |
27 to modify the Makefile. | |
28 | |
29 $ make -f Makefile.w32 | |
30 | |
31 | |
32 Enjoy! | |
33 -- ccr, 19.3.2013 |