Generate html files.

develop
Alexander Gavrilov 2014-04-12 17:21:10 +04:00
parent 508fcae758
commit 412ba8e98a
3 changed files with 40 additions and 15 deletions

@ -451,16 +451,27 @@ rm libs/libstdc++.so.6
</li> </li>
<li><p class="first">Open Xcode, go to Preferences &gt; Downloads, and install the Command Line Tools.</p> <li><p class="first">Open Xcode, go to Preferences &gt; Downloads, and install the Command Line Tools.</p>
</li> </li>
<li><p class="first">Install MacPorts.</p> <li><p class="first">Install dependencies</p>
</li> <blockquote>
<li><p class="first">Install dependencies from MacPorts:</p> <p>Option 1: Using MacPorts:</p>
<ul> <blockquote>
<li><p class="first"><tt class="docutils literal">sudo port install gcc45 +universal cmake +universal <span class="pre">git-core</span> +universal</tt></p> <ul class="simple">
<p>This will take some time—maybe hours, depending on your machine.</p> <li><a class="reference external" href="http://www.macports.org/">Install MacPorts</a></li>
</li> <li>Run <tt class="docutils literal">sudo port install gcc45 +universal cmake +universal <span class="pre">git-core</span> +universal</tt>
<li><p class="first">At some point during this process, it may ask you to install a Java environment; let it do so.</p> This will take some time—maybe hours, depending on your machine.</li>
</li>
</ul> </ul>
<p>At some point during this process, it may ask you to install a Java environment; let it do so.</p>
</blockquote>
<p>Option 2: Using Homebrew:</p>
<blockquote>
<ul class="simple">
<li><a class="reference external" href="http://brew.sh/">Install Homebrew</a> and run:</li>
<li><tt class="docutils literal">brew install git</tt></li>
<li><tt class="docutils literal">brew install cmake</tt></li>
<li><tt class="docutils literal">brew install gcc45 <span class="pre">--enable-multilib</span></tt></li>
</ul>
</blockquote>
</blockquote>
</li> </li>
<li><p class="first">Install perl dependencies</p> <li><p class="first">Install perl dependencies</p>
<blockquote> <blockquote>
@ -484,12 +495,26 @@ git submodule init
git submodule update git submodule update
</pre> </pre>
</li> </li>
<li><p class="first">Set environment variables:</p>
</li>
</ol>
<blockquote>
<p>Macports:</p>
<pre class="literal-block">
export CC=/opt/local/bin/gcc-mp-4.5
export CXX=/opt/local/bin/g++-mp-4.5
</pre>
<p>Homebrew:</p>
<pre class="literal-block">
export CC=/usr/local/bin/gcc-4.5
export CXX=/usr/local/bin/g++-4.5
</pre>
</blockquote>
<ol class="arabic" start="8">
<li><p class="first">Build dfhack:</p> <li><p class="first">Build dfhack:</p>
<pre class="literal-block"> <pre class="literal-block">
mkdir build-osx mkdir build-osx
cd build-osx cd build-osx
export CC=/opt/local/bin/gcc-mp-4.5
export CXX=/opt/local/bin/g++-mp-4.5
cmake .. -DCMAKE_BUILD_TYPE:string=Release -DCMAKE_INSTALL_PREFIX=/path/to/DF/directory cmake .. -DCMAKE_BUILD_TYPE:string=Release -DCMAKE_INSTALL_PREFIX=/path/to/DF/directory
make make
make install make install

@ -599,12 +599,12 @@ at <a class="reference external" href="http://github.com/peterix/dfhack">http://
</div> </div>
<div class="section" id="compatibility"> <div class="section" id="compatibility">
<h1><a class="toc-backref" href="#id4">Compatibility</a></h1> <h1><a class="toc-backref" href="#id4">Compatibility</a></h1>
<p>DFHack works on Windows XP, Vista, 7 or any modern Linux distribution. <p>DFHack works on Windows XP, Vista, 7, any modern Linux distribution, or OS X
OSX is not supported due to lack of developers with a Mac.</p> 10.6.8-10.9.</p>
<p>Currently, version 0.34.11 is supported (and tested). If you need DFHack <p>Currently, version 0.34.11 is supported (and tested). If you need DFHack
for older versions, look for older releases.</p> for older versions, look for older releases.</p>
<p>On Windows, you have to use the SDL version of DF.</p> <p>On Windows, you have to use the SDL version of DF.</p>
<p>It is possible to use the Windows DFHack under wine/OSX.</p> <p>It is also possible to use the Windows DFHack with Wine under Linux and OS X.</p>
</div> </div>
<div class="section" id="installation-removal"> <div class="section" id="installation-removal">
<h1><a class="toc-backref" href="#id5">Installation/Removal</a></h1> <h1><a class="toc-backref" href="#id5">Installation/Removal</a></h1>