1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-20 12:32:58 +00:00
cc65/getting-started.html

99 lines
4.5 KiB
HTML
Raw Normal View History

2013-05-13 14:32:25 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>cc65 - Getting Started</title>
<link rel="stylesheet" type="text/css" href="cc65.css"/>
<link rel="shortcut icon" type="image/x-icon" href="image/favicon.ico"/>
</head>
<body>
<img style="float:right;" width="300" height="150" src="image/cc65.png" alt=""/>
<h1>Getting Started</h1>
<div id="menu">
<div id="innermenu">
<ul>
<li><a href="index.html">Main Page</a>
</li>
<li id="here"><a href="getting-started.html">Getting Started</a>
</li>
2013-05-28 15:30:35 +00:00
<li><a href="mailing-lists.html">Mailing Lists</a>
</li>
2013-05-13 14:32:25 +00:00
</ul>
</div>
</div>
<h2>Content</h2>
<ul class="down">
<li><a href="#GNU">GNU/Linux</a>
</li>
<li><a href="#Windows">Microsoft Windows</a>
2013-05-13 14:32:25 +00:00
</li>
</ul>
<h2><a name="GNU">GNU/Linux</a></h2>
<p>Download the
<a href="https://github.com/oliverschmidt/cc65/archive/master.zip">
current cc65 source code</a> an unzip it to a path of your choice.
Change the current working directory to the 'cc65-master' subdirectory
of that path and enter 'make'. This builds both the cc65 binaries
(located in the 'bin' subdirectory) and the cc65 libraries. Now cc65 is
fully functional without further steps.
2013-05-13 14:32:25 +00:00
</p>
<p>If you want to be able to run the cc65 binaries without providing their
path you may additionally enter 'sudo make avail'. This creates symbolic
links to the binaries in '/usr/local/bin'.
2013-05-13 14:32:25 +00:00
</p>
<h2><a name="Windows">Microsoft Windows</a></h2>
2013-05-13 14:32:25 +00:00
<p>Download the
<a href="https://github.com/oliverschmidt/cc65/archive/master.zip">
current cc65 source code</a> and unzip it to a path of your choice that
<u>doesn't contain spaces</u> (let's presume 'c:\cc65' here). Download
the 'Make for Windows'
<a href="http://gnuwin32.sourceforge.net/downlinks/make-bin-zip.php">
binary</a> and its
<a href="http://gnuwin32.sourceforge.net/downlinks/make-dep-zip.php">
dependencies</a> and unzip them both to the <u>same</u> path of your
choice (let's presume 'c:\cc65\gnu' here). Now you have two options...
2013-05-13 14:32:25 +00:00
<ul class="bullet">
<li>Build the cc65 binaries using Microsoft Visual C++ 2010 Express:
<br/>
2013-05-13 14:32:25 +00:00
Open a 'Visual Studio Command Prompt (2010)', change the current
working directory to 'c:\cc65\cc65-master' and enter
'c:\cc65\gnu\bin\make'. This builds both the cc65 binaries
(located in 'c:\cc65\cc65-master\bin') and the cc65 libraries.
Now cc65 is fully functional without further steps.<br/>
<u>Note:</u> If you receive an error message complaining about
a permission denied then you need to run the Visual Studio
Command Prompt as administrator.
2013-05-13 14:32:25 +00:00
</li>
</ul>
<ul class="bullet">
<li>Use prebuilt cc65 binaries:
<br/>
2013-05-13 14:32:25 +00:00
Download the
<a href="http://sourceforge.net/projects/cc65/files/latest/download">
latest cc65 binaries</a> for Microsoft Windows and unzip the them to
'c:\cc65\cc65-master'. Rename the directory 'c:\cc65\cc65-master\drop'
to 'c:\cc65\cc65-master\bin'. Open a Command Prompt, change the
current working directory to 'c:\cc65\cc65-master' and enter
'c:\cc65\gnu\bin\make lib'. This builds the cc65 libraries. Now
cc65 is fully functional without further steps.<br/>
<u>Notes:</u>
<ul class="">
<li>If you receive an error message complaining about
'MSVCR100.dll' missing then you need to install the
<a href="http://www.microsoft.com/en-us/download/details.aspx?id=8328">
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)</a>.
</li>
<li>If you receive an error message saying 'Cannot create temporary
file: Permission denied' then you need to run the Command Prompt
as administrator.
</li>
</ul>
2013-05-13 14:32:25 +00:00
</li>
</ul>
</p>
<p>If you want to be able to run the cc65 binaries without providing their
path you may additionally add 'c:\cc65\cc65-master\bin' to your 'Path'
environment variable.
2013-05-13 14:32:25 +00:00
</p>
</body>
</html>