Changeset - r12577:f7331da691a0
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-08-01 16:59:05
rubidium@openttd.org
(svn r17027) -Document: that Solaris needs gmake instead of make and generalise the compiling section a bit
1 file changed with 11 insertions and 18 deletions:
readme.txt
11
18
0 comments (0 inline, 0 general)
readme.txt
Show inline comments
 
@@ -14,12 +14,13 @@ 4.0) Installing and running OpenTTD
 
 * 4.1 (Required) 3rd party files
 
 * 4.2 OpenTTD directories
 
 * 4.3 Portable Installations (External Media)
 
5.0) OpenTTD features
 
6.0) Configuration File
 
7.0) Compiling
 
 * 7.1) Required/optional libraries
 
8.0) Translating
 
 * 8.1 Guidelines
 
 * 8.2 Translation
 
 * 8.3 Previewing
 
9.0) Troubleshooting
 
X.X) Credits
 
@@ -313,44 +314,29 @@ Windows:
 
  into the lib/ directory.
 
  For more help with VS see docs/Readme_Windows_MSVC.txt.
 

	
 
  You can also build it using the Makefile with MSYS/MinGW or Cygwin/MinGW.
 
  Please read the Makefile for more information.
 

	
 
Solaris 10:
 
  You need g++ (version 3 or higher), together with SDL. Installation of
 
  libpng and zlib is recommended. For the first build it is required
 
  to execute "bash configure" first. Note that ./configure does not work
 
  yet. It is likely that you don't have a strip binary, so use the
 
  --disable-strip option in that case. Fontconfig (>2.3.0) and freetype
 
  are optional. "make run" will then run the program.
 
Solaris, FreeBSD, OpenBSD:
 
  Use "gmake", but do a "./configure" before the first build.
 

	
 
Unix:
 
Linux/Unix:
 
  OpenTTD can be built with GNU "make". On non-GNU systems it's called "gmake".
 
  However, for the first build one has to do a "./configure" first.
 
  Note that you need SDL-devel 1.2.5 (or higher) to compile OpenTTD.
 

	
 
MacOS X:
 
  Use "make" or Xcode (which will then call make for you)
 
  This will give you a binary for your CPU type (PPC/Intel)
 
  However, for the first build one has to do a "./configure" first.
 
  To make a universal binary type "./configure --enabled-universal"
 
  instead of "./configure".
 

	
 
BeOS:
 
  Use "make", but do a "./configure" before the first build.
 

	
 
FreeBSD:
 
  You need the port devel/sdl12 for a non-dedicated build.
 
  graphics/png is optional for screenshots in the PNG format.
 
  Use "gmake", but do a "./configure" before the first build.
 

	
 
OpenBSD:
 
  Use "gmake", but do a "./configure" before the first build.
 
  Note that you need the port devel/sdl to compile OpenTTD.
 

	
 
MorphOS:
 
  Use "make". However, for the first build one has to do a "./configure" first.
 
  Note that you need the MorphOS SDK, latest libnix updates (else C++ parts of
 
  OpenTTD will not build) and the powersdl.library SDK. Optionally libz,
 
  libpng and freetype2 developer files.
 

	
 
@@ -365,20 +351,27 @@ DOS:
 
  before the first build. The build binary will need cwsdpmi.exe to be in
 
  the same directory as the openttd executable. cwsdpmi.exe can be found in
 
  the os/dos subdirectory. If you compile with stripping turned on a binary
 
  will be generated that does not need cwsdpmi.exe by adding the cswdstub.exe
 
  to the created OpenTTD binary.
 

	
 
7.1) Required/optional libraries:
 
---- -------------------
 
The following libraries are used by OpenTTD for:
 
  - libSDL/liballegro: hardware access (video, sound, mouse)
 
  - zlib: (de)compressing of savegames
 
  - libpng: making screenshots and loading heightmaps
 
  - libfreetype: loading generic fonts and rendering them
 
  - libfontconfig: searching for fonts, resolving font names to actual fonts
 
  - libicu: handling of right-to-left scripts (e.g. Arabic and Persian)
 

	
 
OpenTTD does not require any of the libraries to be present, but without
 
zlib you cannot open most savegames or use the content downloading system.
 
Without libSDL/liballegro on non-Windows and non-MacOS X machines you have
 
no graphical user interface; you would be building a dedicated server.
 

	
 
8.0) Translating:
 
---- -------------------
 
See http://www.openttd.org/development for up-to-date information.
 

	
 
The use of the online Translator service, located at
 
http://translator.openttd.org/, is highly encouraged. For getting an account
0 comments (0 inline, 0 general)