File: INSTALL

package info (click to toggle)
gnuboy 1.0.2-2
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 1,000 kB
  • ctags: 2,300
  • sloc: ansic: 11,912; asm: 2,641; cpp: 190; makefile: 165; sh: 152
file content (81 lines) | stat: -rw-r--r-- 2,905 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

GNUBOY INSTALLATION


  *NIX SYSTEMS

One or more of the following is required to compile on *nix: X, SDL,
svgalib, or Linux fbcon. Since basically everyone has X, this should
not be a problem. Please note that the SDL and fbcon ports are the
most functional, however. In the future, Sun console may also be
supported.

The best and easiest way to build gnuboy for *nix is with the
configure script:

  ./configure
  make
  make install

By default, heavy optimization and asm cpu and graphics cores will be
used if available on your platform. For information on compiletime
options related to performance and debugging, type:

  ./configure --help

Alternatively, if you don't like the GNU configure script, you may
copy the Makefile.nix to Makefile and edit it by hand to work with
your system. Make sure you uncomment -DIS_LITTLE_ENDIAN if your cpu is
little endian. Please note that not everything is supported when
compiling this way, and that it should only be done as a last resort.
The generic Makefile.nix may be removed in the future since it's extra
work to maintain.

Running make should produce the binaries xgnuboy, fbgnuboy, sgnuboy
and/or sdlgnuboy, depending on the availability of the various
interface libraries on your host.  The install target will install
these to $(prefix)/bin, where prefix is specified to configure in the
usual way. The default prefix is of course /usr/local/.

Binary packages may be available for some platforms, but they are
usually not quite up to date, and are not built or supported by the
gnuboy team.

Binary package maintainers should be aware that, by default, gnuboy
will be built with optimizations specific to the exact host cpu it's
being compiled on, and may not work on older models. If you want your
binaries to work with older systems too, run configure with the
--disable-arch option to disable architecture specific compiler flags.


  WINDOWS

Mingw32 and the SDL development files are required to compile gnuboy
for Windows. They may be obtained from www.mingw.org and
www.libsdl.org, respectively.

Just copy Makefile.mingw32 to Makefile and run make. When done, put
the resulting gnuboy.exe wherever you wish to install it.

Precompiled binaries are also available for Windows; check the site
from which you obtained gnuboy to see if it provides copies.


  DOS

You'll need djgpp to use the included Makefile. Theoretically it
shouldn't be hard to port the dos-specific modules to work with other
compilers, but I see no reason why it should be necessary.

Since all DOS systems are basically alike, just copy Makefile.dos to
Makefile and type "make" to compile gnuboy. No configuration should be
necessary. If you do have build problems, let us know.

After compiling, place gnuboy.exe wherever you want.

Precompiled binaries are also available for DOS; check the site from
which you obtained gnuboy to see if it provides copies.