--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml">\r
+\r
+<!--\r
+Copyright: Darren Hester 2006, http://www.designsbydarren.com\r
+License: Released Under the "Creative Commons License",\r
+http://creativecommons.org/licenses/by-nc/2.5/\r
+-->\r
+\r
+<head>\r
+\r
+<!-- Meta Data -->\r
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
+<meta name="description" content="Check unit testing framework for C" />\r
+<meta name="keywords" content="check, unit test, c" />\r
+\r
+<!-- Site Title -->\r
+<title>Check | Users of Check</title>\r
+\r
+<!-- Link to Style External Sheet -->\r
+<link href="css/style.css" type="text/css" rel="stylesheet" />\r
+\r
+</head>\r
+\r
+<body>\r
+\r
+<div id="page_wrapper">\r
+\r
+<div id="header_wrapper">\r
+\r
+<div id="header">\r
+\r
+<h1>Check</h1>\r
+<h2>Unit Testing Framework for C</h2>\r
+\r
+</div>\r
+\r
+<div id="navcontainer">\r
+\r
+<ul id="navlist">\r
+<li><a href="../index.html">Home</a></li>\r
+<li><a href="../NEWS">NEWS</a></li>\r
+<li id="active"><a href="#" id="current">Install</a></li>\r
+<li><a href="../doc/check_html/check_3.html">Tutorial</a></li>\r
+<li><a href="../doc/check_html/index.html">Reference</a></li>\r
+<li><a href="http://sourceforge.net/projects/check/files/latest/download">Download</a></li>\r
+</ul>\r
+</div>\r
+\r
+</div>\r
+\r
+\r
+<div id="content">\r
+\r
+<h3>Installing Check</h3>\r
+\r
+<p>\r
+The following instructions show how one can either install Check from\r
+a package manager or compile from source on one's platform.\r
+</p>\r
+\r
+<ul>\r
+ <li>GNU/Linux</li>\r
+ <ul>\r
+ <li><a href="#aptitude">Ubuntu/Debian via Aptitude</a></li>\r
+ <li><a href="#yum">Fedora via Yum</a></li>\r
+ <li><a href="#linuxsource">From Source</a></li>\r
+ </ul>\r
+ <li>GNU/Hurd</li>\r
+ <ul>\r
+ <li><a href="#hurdsource">Debian GNU/Hurd From Source</a></li>\r
+ </ul>\r
+ <li>OSX</li>\r
+ <ul>\r
+ <li><a href="#osxmacports">MacPorts</a></li>\r
+ <li><a href="#osxhomebrew">Homebrew</a></li>\r
+ <li><a href="#osxsource">From Source</a></li>\r
+ </ul>\r
+ <li>BSD</li>\r
+ <ul>\r
+ <li><a href="#openbsd">OpenBSD via Packages</a></li>\r
+ <li><a href="#bsdsource">From Source</a></li>\r
+ </ul>\r
+ <li>Windows</li>\r
+ <ul>\r
+ <li><a href="#cygwinpackage">Cygwin via Package Manager</a></li>\r
+ <li><a href="#cygwinsource">Cygwin From Source</a></li>\r
+ <li><a href="#mingwsource">MinGW/MinGW-w64 From Source</a></li>\r
+ </ul>\r
+</ul>\r
+\r
+<hr></hr>\r
+\r
+<a name="aptitude"></a>\r
+<h3>Ubuntu/Debian via Aptitude</h3>\r
+<p>\r
+Ubuntu and Debian both provide a Check package that can be installed.\r
+To install, in a terminal, type:\r
+\r
+<div id="code"><pre class="command">\r
+$ sudo apt-get install check\r
+</pre></div>\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="yum"></a>\r
+<h3>Fedora via Yum</h3>\r
+<p>\r
+Fedora both provides a Check package that can be installed. To install,\r
+in a terminal, type:\r
+\r
+<div id="code"><pre class="command">\r
+$ sudo yum install check\r
+</pre></div>\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="linuxsource"></a>\r
+<h3>GNU/Linux From Source</h3>\r
+<p>\r
+Check uses autotools as a build system, and the default steps\r
+work on GNU/Linux systems. After the\r
+<a href="http://sourceforge.net/projects/check/files/latest/download">latest Check source</a>\r
+has been downloaded and unpacked, open a terminal in the unpacked\r
+directory, then:\r
+</p>\r
+<div id="code"><pre class="command">\r
+$ ./configure\r
+$ make\r
+$ make check\r
+$ sudo make install\r
+</pre></div>\r
+<p>\r
+If the "make check" step fails, please send an email to Check's\r
+<a href="https://lists.sourceforge.net/lists/listinfo/check-devel">mailing list</a>\r
+and give details as to the failure so it may be investigated and fixed.\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="hurdsource"></a>\r
+<h3>Debian GNU/Hurd From Source</h3>\r
+<p>\r
+Debian GNU/Hurd does not yet provide a package for Check, so it must\r
+be compiled from source. Check uses autotools as a build system, and the\r
+default steps work on Debian GNU/Hurd systems.\r
+Note that not all unit tests currently pass on GNU/Hurd; this is being\r
+investigated. After the\r
+<a href="http://sourceforge.net/projects/check/files/latest/download">latest Check source</a>\r
+has been downloaded and unpacked, open a terminal in the unpacked\r
+directory, then:\r
+</p>\r
+<div id="code"><pre class="command">\r
+$ ./configure\r
+$ make\r
+$ sudo make install\r
+</pre></div>\r
+<br></br>\r
+\r
+\r
+<a name="osxmacports"></a>\r
+<h3>OSX via MacPorts</h3>\r
+<p>\r
+MacPorts provides a Check package that can be installed. First,\r
+<a href="www.macports.org/install.php">install MacPorts</a>\r
+if not done already. Then, in a terminal, type:\r
+\r
+<div id="code"><pre class="command">\r
+$ sudo port install check\r
+</pre></div>\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="osxhomebrew"></a>\r
+<h3>OSX via Homebrew</h3>\r
+<p>\r
+Homebrew provides a Check package that can be installed. First,\r
+<a href="brew.sh">install Homebrew</a>\r
+if not done already. Then, in a terminal, type:\r
+\r
+<div id="code"><pre class="command">\r
+$ brew install check\r
+</pre></div>\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="osxsource"></a>\r
+<h3>OSX From Source</h3>\r
+<p>\r
+Check uses autotools as a build system, and the default steps\r
+work on OSX systems. You must have Xcode installed. After the\r
+<a href="http://sourceforge.net/projects/check/files/latest/download">latest Check source</a>\r
+has been downloaded and unpacked, open a terminal in the unpacked\r
+directory, then:\r
+</p>\r
+<div id="code"><pre class="command">\r
+$ ./configure\r
+$ make\r
+$ make check\r
+$ sudo make install\r
+</pre></div>\r
+<p>\r
+If the "make check" step fails, please send an email to Check's\r
+<a href="https://lists.sourceforge.net/lists/listinfo/check-devel">mailing list</a>\r
+and give details as to the failure so it may be investigated and fixed.\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="openbsd"></a>\r
+<h3>OpenBSD via Packages</h3>\r
+<p>\r
+OpenBSD provides a Check package that can be installed. To install,\r
+in a terminal, type:\r
+\r
+<div id="code"><pre class="command">\r
+$ sudo pkg_add check\r
+</pre></div>\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="bsdsource"></a>\r
+<h3>BSD From Source</h3>\r
+<p>\r
+Check uses autotools as a build system, and the default steps\r
+work when building on the BSD system. Special care is required when\r
+cross compiling, which is described below.\r
+<br></br>\r
+After the <a href="http://sourceforge.net/projects/check/files/latest/download">latest Check source</a>\r
+has been downloaded and unpacked, open a terminal in the unpacked\r
+directory. To compile on the BSD system directly, type:\r
+</p>\r
+<div id="code"><pre class="command">\r
+$ ./configure\r
+$ make\r
+$ make check\r
+$ sudo make install\r
+</pre></div>\r
+<p>\r
+If the "make check" step fails, please send an email to Check's\r
+<a href="https://lists.sourceforge.net/lists/listinfo/check-devel">mailing list</a>\r
+and give details as to the failure so it may be investigated and fixed.\r
+</p>\r
+<p>\r
+Cross compiling for BSD may require an additional configure argument:\r
+<em>--enable-timer-replacement</em> .\r
+Check attempts to use high resolution timers via the timer_create(),\r
+timer_settime(), and timer_delete() functions. For some BSD systems\r
+(e.g. OpenBSD), these functions exist but are non-functional stubs.\r
+If the functions are available, when compiling on the target system the\r
+configure script will verify that the calls are not stubs. If they are\r
+valid, Check will use them. When cross compiling, the validity check\r
+cannot be performed. To prevent Check from using these when cross\r
+compiling for affected BSD systems, add the <em>--enable-timer-replacement</em>\r
+configure option.\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="cygwinpackage"></a>\r
+<h3>Cygwin via Package Manager</h3>\r
+<p>\r
+Cygwin provides a Check package that can be installed. To install,\r
+launch the Cygwin setup program, locate the Check package under\r
+the Devel folder, then install.\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="cygwinsource"></a>\r
+<h3>Cygwin From Source</h3>\r
+<p>\r
+Check uses autotools as a build system, and the default steps\r
+work on Cygwin. You must have gcc, and make installed. After the\r
+<a href="http://sourceforge.net/projects/check/files/latest/download">latest Check source</a>\r
+has been downloaded and unpacked, open a Cygwin terminal in the unpacked\r
+directory, then:\r
+</p>\r
+<div id="code"><pre class="command">\r
+$ ./configure\r
+$ make\r
+$ make check\r
+$ sudo make install\r
+</pre></div>\r
+<p>\r
+If the "make check" step fails, please send an email to Check's\r
+<a href="https://lists.sourceforge.net/lists/listinfo/check-devel">mailing list</a>\r
+and give details as to the failure so it may be investigated and fixed.\r
+</p>\r
+<br></br>\r
+\r
+\r
+<a name="mingwsource"></a>\r
+<h3>MinGW/MinGW-w64 From Source</h3>\r
+<p>\r
+MinGW and MinGW-w64 do not provide a package for Check, so it must be\r
+compiled from source. Check uses autotools as a build system, and the\r
+default steps work on both MinGW and MinGW-w64. Note that because both\r
+MinGW and MinGW-w64 do not provide a fork() alternative, Check's fork\r
+mode will be disabled. After the\r
+<a href="http://sourceforge.net/projects/check/files/latest/download">latest Check source</a>\r
+has been downloaded and unpacked, open a MSYS terminal in the unpacked\r
+directory, then:\r
+</p>\r
+<div id="code"><pre class="command">\r
+$ ./configure\r
+$ make\r
+$ make check\r
+$ make install\r
+</pre></div>\r
+<p>\r
+If the "make check" step fails, please send an email to Check's\r
+<a href="https://lists.sourceforge.net/lists/listinfo/check-devel">mailing list</a>\r
+and give details as to the failure so it may be investigated and fixed.\r
+</p>\r
+<br></br>\r
+\r
+\r
+\r
+</div>\r
+\r
+<div id="footer">\r
+<a href="http://sourceforge.net">Sourceforge</a>\r
+| <a href="http://www.cloudbees.com/foss/index.cb">Cloudbees</a>\r
+<br />\r
+Template provided by:\r
+<a href="http://www.designsbydarren.com" target="_blank">DesignsByDarren.com</a>\r
+</div>\r
+\r
+</div>\r
+\r
+</body>\r
+\r
+</html>\r