<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

<head>
<meta http-equiv="Content-Language" content="en-us">
<title>Library Download Tips</title>
<link rel="stylesheet" type="text/css" href="../style.css">
<base target="_blank">
<style type="text/css">
.style1 {
	font-family: Tahoma;
}
.style2 {
	border-style: solid;
}
</style>
</head>
<body>

<h1>Tecgraf/PUC-Rio Library Download Tips</h1>
<p>All the libraries were build using <b>Tecmake</b>. Please use it if you intend to recompile the sources. 
<b>Tecmake</b> 
  can be found at 
<a target="_blank" href="http://www.tecgraf.puc-rio.br/tecmake">http://www.tecgraf.puc-rio.br/tecmake</a>.</p>
<p class="info">The <b>IM</b> files can be downloaded at 
<a href="http://sourceforge.net/project/showfiles.php?group_id=241318">http://sourceforge.net/project/showfiles.php?group_id=241318</a>.<br>
  The <b>CD</b> files can be downloaded at 
<a href="http://sourceforge.net/project/showfiles.php?group_id=241317">
http://sourceforge.net/project/showfiles.php?group_id=241317</a>.<br>
  The <b>IUP</b> files can be downloaded at 
<a href="http://sourceforge.net/project/showfiles.php?group_id=241310">
http://sourceforge.net/project/showfiles.php?group_id=241310</a>.<br>
  The <b>Lua</b> files can be downloaded at 
<a href="http://luaforge.net/project/showfiles.php?group_id=110">http://luaforge.net/project/showfiles.php?group_id=110</a>.</p>
<h3><a name="build">Build Configuration</a></h3>
<p>Libraries and executables were built using speed optimization. In UNIX the dynamic libraries were NOT built with 
  the -fpic parameter. In MacOS X the dynamic libraries are in bundle format. The source code along with the 
  &quot;config.mak&quot; files for <b>Tecmake</b> are also available.</p>
<p>The DLLs were built using the <b>cdecl</b> calling convention. This should be 
a problem for Visual Basic users.</p>
<p>In Visual C++ 6 and 7 we use the single thread C Run Time Library for static libraries and the multi thread C RTL for DLLs. 
  Because this were the default in Visual Studio for new projects. Since Visual C++ 8, both use the multithread C RTL.</p>
<h3><a name="pack">Packaging</a></h3>
<p>The package files available for download are named according to the platform where they were build.</p>
<p>In UNIX all strings are based in the result of the command &quot;uname -a&quot;. The package name is a concatenation of the 
  platform <b>uname</b>, the system <b>major</b> version number and the system 
<b>minor</b> version number. Some times a 
  suffix must be added to complement the name. The compiler used is always gcc. Binaries for 64-bits receive the suffix: &quot;_64&quot;. In Linux when 
there are different versions of gcc for the same 
  uname, the platform name is created adding the major version number of the compiler added as a suffix: &quot;g3&quot; for gcc 3 and &quot;g4&quot; for gcc 
  4.</p>
<p>In Windows the platform name is the <b>compiler</b> and its <b>major</b> version number. 
</p>
<p>All library packages <strong>(*_lib*)</strong> contains pre-compiled binaries for the specified platform and includes. Packages with 
<strong>&quot;_bin&quot;</strong> suffix 
  contains executables only.</p>
<p>The package name is a general reference for the platform. If you have the same platform it will work fine, but it 
  may also work in similar platforms.</p>
<p>Here are some examples of packages: </p>
<p class="info">
<b>iup2_4_Linux26_lib.tar.gz</b> = IUP 2.4 32-bits Libraries and Includes for Linux with Kernel version 2.6 built with 
    gcc 3.<br>
<b>iup2_4_</b><strong>Linux26g4_64</strong><b>_bin.tar.gz</b> = IUP 2.4 64-bits Executables for 
Linux&nbsp; with Kernel version 2.6 built with gcc 4.<br>
<b>iup2_4_Win32_vc8_lib.tar.gz</b> = IUP 2.4 32-bits Static Libraries and Includes for Windows to use with Visual C++ 
8 (2005).<br>
<b>iup2_4_Win32_dll9_lib.tar.gz</b> = IUP 2.4 32-bits Dynamic Libraries (DLLs), 
import libraries and Includes for Windows to use with Visual C++ 
9 (2008).<br>
<b>iup2_4_Docs_html.tar.gz</b> = IUP 2.4 documentation files in HTML format (the web site files can be browsed 
    locally).<br>
<b>iup2_4_Win32_bin.tar.gz</b> = IUP 2.4 32-bits Executables for Windows.</p>
<p>The documentation files are in HTML format. They do not include the CHM and PDF versions. These two files are 
  provided as a separate download, but they all have the same documentation.</p>
<h3><a name="install">Installation</a></h3>
<p>For any platform we recommend you to create a folder to contain the third party libraries you download. Then just 
  unpack the packages you download in that folder. The packages already contains a directory structure that separates 
  each library or toolkit. For example:</p>
<pre>\mylibs\
        iup\
            bin\
            html\
            include\
            lib\Linux26
            lib\Linux26g4_64
            lib\vc8
            src
        cd\
        im\
        lua5.1\</pre>
<p>This structure will also made the process of building from sources more simple, since the projects and makefiles 
  will assume this structure .</p>
<h3><a name="usage">Usage</a></h3>
<p>For makefiles use:</p>
<pre>1) &quot;-I/mylibs/iup/include&quot; to find include files
2) &quot;-L/mylibs/iup/lib/Linux26&quot; to find library files
3) &quot;-liup&quot; to specify the library files</pre>
<p>For IDEs the configuration involves the same 3 steps above, but each IDE has a different dialog. The IUP toolkit 
  has a Guide for some IDEs:</p>
<p class="info">
    <strong>Borland C++ BuilderX</strong> - 
<a href="http://www.tecgraf.puc-rio.br/iup/en/ide_guide/cppbx.html">http://www.tecgraf.puc-rio.br/iup/en/ide_guide/cppbx.html</a><br>
<strong>Code Blocks</strong> - <a href="http://www.tecgraf.puc-rio.br/iup/en/ide_guide/codeblocks.html">http://www.tecgraf.puc-rio.br/iup/en/ide_guide/codeblocks.html</a><br>
    <strong>Dev-C++</strong> - <a href="http://www.tecgraf.puc-rio.br/iup/en/ide_guide/dev-cpp.html">http://www.tecgraf.puc-rio.br/iup/en/ide_guide/dev-cpp.html</a>
<br>
<strong>Eclipse for C++</strong> -
<a href="http://www.tecgraf.puc-rio.br/iup/en/ide_guide/eclipse.html">
http://www.tecgraf.puc-rio.br/iup/en/ide_guide/eclipse.html</a>
<br>
<strong>Microsoft Visual C++</strong> (Visual Studio 2003) - 
<a href="http://www.tecgraf.puc-rio.br/iup/en/ide_guide/msvc.html">http://www.tecgraf.puc-rio.br/iup/en/ide_guide/msvc.html</a><br>
    <strong>Microsoft Visual C++</strong> (Visual Studio 2005) - 
<a href="http://www.tecgraf.puc-rio.br/iup/en/ide_guide/msvc8.html">http://www.tecgraf.puc-rio.br/iup/en/ide_guide/msvc8.html</a><br>
<strong>Open Watcom</strong> - <a href="http://www.tecgraf.puc-rio.br/iup/en/ide_guide/owc.html">http://www.tecgraf.puc-rio.br/iup/en/ide_guide/owc.html</a>
<br>
</p>
<h3><a name="plat">Available Platforms</a></h3>
      <p>The following platforms can be available:</p>
<table border="0" cellpadding="3" style="border-collapse: collapse" bordercolor="#111111" align="center">
  <tr>
    <th bgcolor="#DDDDDD" align="right" class="style2">Package Name</th>
    <th bgcolor="#DDDDDD" class="style2">Description</th>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>AIX43</b></td>
    <td bgcolor="#DDDDDD">&nbsp;IBM AIX 4.3 (ppc) / gcc 2.95 / Motif 2.1 
    </td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>IRIX65</b></td>
    <td bgcolor="#C0C0C0">&nbsp;SGI IRIX 6.5 (mips) / gcc 3.0 / Motif 2.1 
    </td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>IRIX6465</b></td>
    <td bgcolor="#C0C0C0">&nbsp;SGI IRIX 6.5 (mips) / gcc 3.3 / Motif 1.2</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux24</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Red Hat 7.3 (x86) / Kernel 2.4 / gcc 2.95 / Open Motif 2.1 
    / GTK 2.0</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux24g3</b></td>
    <td bgcolor="#DDDDDD">&nbsp;CentOS 3.9 (x86) / Kernel 2.4 / gcc 3.2 / Open Motif 2.2
	<sup><span class="style1">3</span></sup> / GTK 2.2</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right" style="height: 27px"><b>Linux24g3_64&nbsp; </b></td>
    <td bgcolor="#DDDDDD">&nbsp;Red Hat E.L. WS 3 (x64)&nbsp;/ Kernel 2.4 / gcc 3.2 / Open Motif 
      2.2 <sup><span class="style1">3</span></sup> / GTK 2.2</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux26</b></td>
    <td bgcolor="#DDDDDD">&nbsp;CentOS 4.6 (x86) / Kernel 2.6 / gcc 3.4 / Open Motif 2.2
	<sup><span class="style1">3</span></sup> / GTK 2.4</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux26_64</b></td>
    <td bgcolor="#DDDDDD">&nbsp;CentOS 4.6 (x64) / Kernel 2.6 / gcc 3.4 / Open Motif 2.2
	<sup><span class="style1">3</span></sup> / GTK 2.4</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux26g4</b></td>
    <td bgcolor="#DDDDDD">&nbsp;CentOS 5.3 (x86) / Kernel 2.6 / gcc 4.1 / Open Motif 
	2.2 <sup><span class="style1">3</span></sup> / GTK 2.12</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><strong>Linux26g4_64</strong></td>
    <td bgcolor="#DDDDDD">&nbsp;CentOS 5.2 (x64) / Kernel 2.6 / gcc 4.1 / 
    OpenMotif 2.2 <sup><span class="style1">3</span></sup> / GTK 2.10</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux26g4ppc</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Ubuntu 7.10 (ppc) / Kernel 2.6 / gcc 4.1 / Open Motif 2.2
	<sup><span class="style1">3</span></sup> / GTK 2.?</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><strong>Linux26_ia64</strong></td>
    <td bgcolor="#DDDDDD">&nbsp;Red Hat E.L. AS 4 (ia64) / Kernel 2.6 / gcc 3.4 / 
    Open Motif 2.2 <sup><span class="style1">3</span></sup> / GTK 2.4</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>SunOS57</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Sun Solaris 7 (sparc) / gcc 2.95 / Motif 2.1 
    </td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>SunOS58</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Sun Solaris 8 (sparc) / gcc 3.4 / Motif 2.1 
    </td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><strong>SunOS510x86</strong></td>
    <td bgcolor="#C0C0C0">&nbsp;Sun Solaris 10 (x86) / gcc 3.3 / Motif 2.1 
    </td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>FreeBSD54</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Free BSD 5.4 (x86) / gcc 3.4 / Open Motif 2.2 
    <sup><span class="style1">3</span></sup></td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Darwin811</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Mac OS X 10.4.11 (ppc) 
	[Tiger] / Darwin Kernel 8.11 / gcc 4.0 / 
    <a href="http://www.ist-inc.com/DOWNLOADS/motif_download.html">Open Motif 2.1</a></td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Darwin811x86</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Mac OS X 10.4.11 (x86) 
	[Tiger] / Darwin Kernel 8.11 / gcc 4.0 / Open Motif 2.1</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Darwin94x86</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Mac OS X 10.5.4 (x86) 
	[Leopard] / Darwin Kernel 9.4 / gcc 4.0 / Open Motif 2.1</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_vc6</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Static library built with Microsoft Visual C++ 6 (static RTL/single thread)</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_vc7</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Static library built with Microsoft Visual C++ 7.1 (.NET 2003) (static RTL/single thread)<br>
      	&nbsp;Also compatible with Microsoft Visual C++ Toolkit 2003</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_vc8</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Static library built with Microsoft Visual C++ 8.0 (2005) (static RTL/multithread)<br>
      	&nbsp;Also compatible with Microsoft Visual C++ 2005 Express Edition</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_vc9</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Static library built with Microsoft Visual C++ 9.0 (2008) (static RTL/multithread)<br>
      &nbsp;Also compatible with Microsoft Visual C++ 2008 Express Edition -<br>
      &nbsp;<a href="http://www.microsoft.com/express/vc/">http://www.microsoft.com/express/vc/</a>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll6</b></td>
    <td bgcolor="#C0C0C0">&nbsp;DLL and import library built 
	with vc6, creates dependency with MSVCRT.DLL</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll7</b></td>
    <td bgcolor="#C0C0C0">&nbsp;DLL and import library built 
	with vc7, creates dependency with MSVCR71.DLL</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll8</b></td>
    <td bgcolor="#C0C0C0">&nbsp;DLL and import library built 
	with vc8, creates dependency with MSVCR80.DLL</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll9</b></td>
    <td bgcolor="#C0C0C0">&nbsp;DLL and import library built 
	with vc9, creates dependency with MSVCR90.DLL</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win64_vc8</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Same as <b>Win32_vc8</b> but for 64-bits 
    systems using the x64 standard.</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win64_vc9</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Same as <b>Win32_vc9</b> but for 64-bits 
    systems using the x64 standard.</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win64_dll8</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Same as <b>Win32_dll8</b> but for 64-bits 
    systems using the x64 standard.</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win64_dll9</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Same as <b>Win32_dll9</b> but for 64-bits 
    systems using the x64 standard.</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_gcc3</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Static library built with Cygwin gcc 3.4&nbsp; (Depends on Cygwin 
	DLL 1.5)</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_gcc4</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Static library built with Cygwin gcc 4.3&nbsp; (Depends on Cygwin DLL 1.7) -
      <a href="http://www.cygwin.com/" style="text-decoration: none">http://www.cygwin.com/</a>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_cygw15</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Same as <b>Win32_gcc3</b>, but using the Cygwin Posix 
    system</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_cygw17</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Same as <b>Win32_gcc4</b>, but using the Cygwin Posix 
    system</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_mingw3</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Static library built with MingW gcc 3.4</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_mingw4</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Static library built with MingW gcc 4.3 - 
    <a href="http://www.mingw.org/" style="text-decoration: none">http://www.mingw.org/</a>
    ¹<br>
	&nbsp;Also compatible with Dev-C++ - 
    <a href="http://www.bloodshed.net/devcpp.html" style="text-decoration: none">http://www.bloodshed.net/devcpp.html</a><br>
&nbsp;and with Code Blocks - <a href="http://www.codeblocks.org/">
	http://www.codeblocks.org/</a>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dllw4</b></td>
    <td bgcolor="#C0C0C0">&nbsp;DLL and import library built 
	with MingW gcc 4.3</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_owc1</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Static library built with Open Watcom 1.5 - 
    <a href="http://www.openwatcom.org/" style="text-decoration: none">http://www.openwatcom.org/</a></td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_bc56</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Static library built with Borland C++ BuilderX 1.0 / Borland C++ 5.6 Compiler - 
    <br />
      &nbsp;<a href="http://www.borland.com/products/downloads/download_cbuilderx.html" style="text-decoration: none">http://www.borland.com/products/downloads/download_cbuilderx.html</a>
      <font face="Times New Roman">¹,²</font><br>
      &nbsp;(the C++ BuilderX IDE can also be configured to use mingw3 or gcc3 versions.) 
    </td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_bin</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Executables only for Windows NT/2000/XP (can be 
	generated by any of the above compilers)</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win64_bin</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Same as <b>Win32_bin</b> but for 64-bits systems 
    using the x64 standard</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><strong>Win32_cygw15_bin</strong></td>
    <td bgcolor="#DDDDDD">&nbsp;Executables only for Windows NT/2000/XP, but 
    using the Cygwin Posix system</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><strong>Win32_cygw17_bin</strong></td>
    <td bgcolor="#DDDDDD">&nbsp;Executables only for Windows NT/2000/XP, but 
    using the Cygwin Posix system</td>
  </tr>
</table>
  
  <p>¹ - Notice that all the Windows 
  compilers with links here are free to download and use. <br>
  ² - Recently Borland removed the C++ Builder X 
  from download. But if you bought a book that has the CD of the compiler, then 
  it is still free to use.<br>
	<sup><span class="style1">3</span></sup> - OpenMotif 2.2 is classified as 
	&#39;experimental&#39; by the Open Group. </p>

  
</body>

</html>