summaryrefslogtreecommitdiff
path: root/html/en/download_tips.html
blob: b7bd258423b1e0864113d3504d49ea4ccea89f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<!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;
}
</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++ we use the single thread C Run Time Library for static libraries and the multi thread C RTL for DLLs. 
  Because this is the default in Visual Studio for new projects. Since Visual C++ 8, both use the multi thread 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), 
stub 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>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>
    <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>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>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>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>
</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>
    <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 
    </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></td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux24g3_64&nbsp; </b></td>
    <td bgcolor="#DDDDDD">&nbsp;Red Hat E.L. WS 3 (x64)&nbsp; (64 bits libraries) / Kernel 2.4 / gcc 3.2 / Open Motif 
      2.2 <sup><span class="style1">3</span></sup></td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux26</b></td>
    <td bgcolor="#DDDDDD">&nbsp;CentOS 4.5 (x86) / Kernel 2.6 / gcc 3.4 / Open Motif 2.2
	<sup><span class="style1">3</span></sup></td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux26_64</b></td>
    <td bgcolor="#DDDDDD">&nbsp;CentOS 4.5 (x64) / Kernel 2.6 / gcc 3.4 / Open Motif 2.2
	<sup><span class="style1">3</span></sup></td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Linux26g4</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Ubuntu 6.06 (x86) / Kernel 2.6 / gcc 4.0 / Open Motif 
	2.2 <sup><span class="style1">3</span></sup></td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><strong>Linux26g4_64</strong></td>
    <td bgcolor="#DDDDDD">&nbsp;Ubuntu 6.10 (x64) / Kernel 2.6 / gcc 4.1 / 
    OpenMotif 2.2 <sup><span class="style1">3</span></sup></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></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></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) / Darwin Kernel Version 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) / Darwin Kernel Version 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="#DDDDDD" align="right"><b>Win32_vc6</b></td>
    <td bgcolor="#DDDDDD">&nbsp;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;Microsoft Visual C++ 7.1 (.NET 2003) (static RTL/single thread)<br>
      &nbsp;Also compatible with Microsoft Visual C++ Toolkit 2003 -<br>
      &nbsp;<a href="http://msdn.microsoft.com/visualc/vctoolkit2003/" style="text-decoration: none">http://msdn.microsoft.com/visualc/vctoolkit2003/</a>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_vc8</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Microsoft Visual C++ 8.0 (2005) (static RTL/multithread)<br>
      &nbsp;Also compatible with Microsoft Visual C++ 2005 Express Edition -<br>
      &nbsp;<a style="text-decoration: none" href="http://msdn.microsoft.com/vstudio/express/visualc/">http://msdn.microsoft.com/vstudio/express/visualc/</a>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_vc9</b></td>
    <td bgcolor="#DDDDDD">&nbsp;Microsoft Visual C++ 9.0 (2008) (static RTL/multithread)<br>
      &nbsp;Also compatible with Microsoft Visual C++ 2008 Express Edition -<br>
      &nbsp;<a style="text-decoration: none" href="http://msdn.microsoft.com/vstudio/express/visualc/">http://msdn.microsoft.com/vstudio/express/visualc/</a>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll6</b></td>
    <td bgcolor="#C0C0C0">&nbsp;built using vc6, creates dependency with MSVCRT.DLL<br>
      &nbsp;(either other libraries or new applications).</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll7</b></td>
    <td bgcolor="#C0C0C0">&nbsp;built using vc7, creates dependency with MSVCR71.DLL<br>
      &nbsp;(either other libraries or new applications).</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll8</b></td>
    <td bgcolor="#C0C0C0">&nbsp;built using vc8, creates dependency with MSVCR80.DLL<br>
      &nbsp;(either other libraries or new applications).</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_dll9</b></td>
    <td bgcolor="#C0C0C0">&nbsp;built using vc9, creates dependency with MSVCR90.DLL<br>
      &nbsp;(either other libraries or new applications).</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 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 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 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 x64 standard.</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_gcc3</b></td>
    <td bgcolor="#C0C0C0">&nbsp;Cygwin gcc 3.4&nbsp; (Depends on Cygwin DLL 1.5) -
      <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_mingw3</b></td>
    <td bgcolor="#C0C0C0">&nbsp;MingW gcc 3.4 - 
    <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>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="right"><b>Win32_mingw4</b></td>
    <td bgcolor="#C0C0C0">&nbsp;MingW gcc 4.x (unofficial) -
    <a href="http://www.develer.com/oss/GccWinBinaries" style="text-decoration: none">http://www.develer.com/oss/GccWinBinaries</a>
    ¹</td>
  </tr>
  <tr>
    <td bgcolor="#DDDDDD" align="right"><b>Win32_owc1</b></td>
    <td bgcolor="#DDDDDD">&nbsp;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;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</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>
</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>