Skip to content

Commit

Permalink
Updated compiling documentation for upcoming change.
Browse files Browse the repository at this point in the history
  • Loading branch information
crs23 committed Sep 6, 2007
1 parent 90b1d4d commit 0ed17cc
Showing 1 changed file with 30 additions and 38 deletions.
68 changes: 30 additions & 38 deletions doc/compiling.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
<ul>
<li>Windows
<ul>
<li>VC++ 6.0 or up
<li>Microsoft Windows SDK for Vista; or
<li>VC++ 6.0 or up should work
</ul>
</p><p>
<li>Unix
Expand All @@ -26,14 +27,14 @@
</p><p>
<li>Mac OS X
<ul>
<li>XCode; or gcc 2.95 or up
<li>gcc 2.95 or up
<li>Carbon development headers and libraries
</ul>
</ul>
</p><p>
</p><h3>Configuring the build</h3><p>
</p><p>
This step is not necessary when using VC++ or XCode.
This step is not necessary on Windows.
</p><p>
To configure the build for your platform use the configure script:
<pre>
Expand All @@ -52,42 +53,42 @@
</p><h3>Building</h3><p>
<ul>
<li>Windows
</p><p>
Start VC++ and open <span class="code">synergy.dsw</span>. Set the
active configuration (Build &gt; Set Active Configuration) to
<span class="code">All - Debug</span> or <span class="code">All -
Release</span> then build. Binaries are built into
<span class="code">./debug</span> or <span class="code">./build</span>.
</p><p>
<li>Unix or Mac OS X without XCode
<p>
Open a command prompt window (cmd.exe or command.exe). If necessary
run vcvars.bat, created when VC++ or Visual Studio was installed. (Use
search to find it.) It's necessary to run the file if you didn't have
the installer set up environment variables for you. Then enter:
<pre>
nmake /nologo /f nmake.mak
</pre>
This will build the programs into <span class="code">build\Release</span>.
</p>
<li>Unix or Mac OS X
</p><p>
Simply enter:
<pre>
make
</pre>
This will build the client and server and leave them in their
respective source directories.
</p><p>
<li>Mac OS X with XCode
</p><p>
Start XCode and open the <span class="code">synergy.xcode</span>
project. Build the <span class="code">all</span> project using
the <span class="code">Deployment</span> flavor.
</p><p>
</p>
</ul>
</p><p>
<p>
</p><h3>Installing</h3><p>
<ul>
<li>Windows
</p><p>
You'll need <a target="_top" href="http://nsis.sourceforge.net/">NSIS</a>, the
Nullsoft Scriptable Install System. Build <span class="code">All -
Release</span> then build <span class="code">Installer - Release</span>.
This creates <span class="code">SynergyInstaller.exe</span> in the
<span class="code">build</span> directory. Run this to install synergy.
<p>
You'll need <a target="_top" href="http://nsis.sourceforge.net/">NSIS</a>,
the Nullsoft Scriptable Install System. As in the building on Windows
description above, enter:
<pre>
nmake /nologo /f nmake.mak installer
</pre>
to build <span class="code">build\Release\SynergyInstaller.exe</span>. Run
this to install synergy.
</p><p>
Alternatively, you can simply copy the following files from the
<span class="code">debug</span> or <span class="code">build</span>
<span class="code">build\Release</span>
directory to a directory you choose (perhaps under the
<span class="code">Program Files</span> directory):
<ul class="code">
Expand All @@ -96,24 +97,15 @@
<li>synergys.exe
<li>synrgyhk.dll
</ul>
</p><p>
<li>Unix or Mac OS X without XCode
</p><p>
</p>
<li>Unix or Mac OS X
<p>
<pre>
make install
</pre>
will install the client and server into
<span class="code">/usr/local/bin</span> unless you
specified a different directory when you ran configure.
</p><p>
<li>Mac OS X with XCode
</p><p>
Copy the following files from ./build to a convenient location:
</p><p>
<ul class="code">
<li>synergyc
<li>synergys
</ul>
</p>
</body>

Expand Down

0 comments on commit 0ed17cc

Please sign in to comment.