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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
|
<!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;
}
.style3 {
border-top-style: solid;
border-top-width: 1px;
}
.style4 {
border-bottom-style: solid;
border-bottom-width: 1px;
}
.style5 {
border-collapse: collapse;
}
.style6 {
border-top-style: solid;
border-top-width: 1px;
border-bottom-style: solid;
border-bottom-width: 1px;
}
</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
"config.mak" 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 "uname -a". 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: "_64". 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: "g3" for gcc 3 and "g4" 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>"_bin"</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 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) "-I/mylibs/iup/include" to find include files
2) "-L/mylibs/iup/lib/Linux26" to find library files
3) "-liup" 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" bordercolor="#111111" align="center" class="style5">
<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"> 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"> 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"> 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"> Red Hat 7.3 (x86) / Kernel 2.4 / gcc 2.95 /
<a href="http://www.ist-inc.com/DOWNLOADS/motif_download.html">Open Motif
2.1</a> / GTK 2.0</td>
</tr>
<tr>
<td bgcolor="#DDDDDD" align="right"><b>Linux24g3</b></td>
<td bgcolor="#DDDDDD"> 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 </b></td>
<td bgcolor="#DDDDDD"> Red Hat E.L. WS 3 (x64) / 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"> 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"> 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"> 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"> 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"> 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"> 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"> 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"> Sun Solaris 8 (sparc) / gcc 3.4 / Motif 2.1
</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>SunOS510</b></td>
<td bgcolor="#C0C0C0"> Sun Solaris 10 (sparc) / gcc 3.4 / Motif 2.1
</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><strong>SunOS510x86</strong></td>
<td bgcolor="#C0C0C0"> 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"> Free BSD 5.4 (x86) / gcc 3.4</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Darwin811</b></td>
<td bgcolor="#C0C0C0"> Mac OS X 10.4.11 (ppc)
[Tiger] / Darwin Kernel 8.11 / gcc 4.0</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Darwin811x86</b></td>
<td bgcolor="#C0C0C0"> Mac OS X 10.4.11 (x86)
[Tiger] / Darwin Kernel 8.11 / gcc 4.0</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Darwin94x86</b></td>
<td bgcolor="#C0C0C0"> Mac OS X 10.5.4 (x86)
[Leopard] / Darwin Kernel 9.4 / gcc 4.0</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Darwin102x86</b></td>
<td bgcolor="#C0C0C0"> Mac OS X 10.6.2 (x86)
[Snow Leopard] / Darwin Kernel 10.2 / gcc 4.2</td>
</tr>
<tr>
<td bgcolor="#DDDDDD" align="right"><b>Win32_vc6</b></td>
<td bgcolor="#DDDDDD" class="style4"> 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" class="style6"> Static library built with Microsoft Visual C++ 7.1 (.NET 2003) (static RTL/single thread)<br>
Also compatible with Microsoft Visual C++ Toolkit 2003</td>
</tr>
<tr>
<td bgcolor="#DDDDDD" align="right"><b>Win32_vc8</b></td>
<td bgcolor="#DDDDDD" class="style6"> Static library built with Microsoft Visual C++ 8.0 (2005) (static RTL/multithread)<br>
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" class="style3"> Static library built with Microsoft Visual C++ 9.0 (2008) (static RTL/multithread)<br>
Also compatible with Microsoft Visual C++ 2008 Express Edition -<br>
<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"> 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"> 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"> 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"> 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"> 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"> 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"> 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"> 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"> Static library built with Cygwin gcc 3.4 (Depends on Cygwin
DLL 1.5)</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Win32_gcc4</b></td>
<td bgcolor="#C0C0C0"> Static library built with Cygwin gcc 4.3 (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"> Same as <b>Win32_gcc3</b>, but using the Cygwin Posix
system and also with a DLL and import library</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Win32_cygw17</b></td>
<td bgcolor="#C0C0C0"> Same as <b>Win32_gcc4</b>, but using the Cygwin Posix
system and also with a DLL and import library</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Win32_dllg4</b></td>
<td bgcolor="#C0C0C0" class="style3"> DLL and import library built
with Cygwin gcc 4.3 (See <b>Win32_gcc4</b>)</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Win32_mingw3</b></td>
<td bgcolor="#C0C0C0" class="style4"> Static library built with MingW gcc 3.4</td>
</tr>
<tr>
<td bgcolor="#C0C0C0" align="right"><b>Win32_mingw4</b></td>
<td bgcolor="#C0C0C0" class="style6"> Static library built with MingW gcc 4.3 -
<a href="http://www.mingw.org/" style="text-decoration: none">http://www.mingw.org/</a>
¹<br>
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>
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" class="style3"> DLL and import library built
with MingW gcc 4.3 (See <b>Win32_mingw4</b>)</td>
</tr>
<tr>
<td bgcolor="#DDDDDD" align="right"><b>Win32_owc1</b></td>
<td bgcolor="#DDDDDD"> 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"> Static library built with Borland C++ BuilderX 1.0 / Borland C++ 5.6 Compiler -
<br />
<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>
(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"> Executables only for Windows NT/2000/XP/Vista/7 (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"> 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"> Executables only for Windows NT/2000/XP, but
using the Cygwin Posix system (See <b>Win32_cygw15</b>)</td>
</tr>
<tr>
<td bgcolor="#DDDDDD" align="right"><strong>Win32_cygw17_bin</strong></td>
<td bgcolor="#DDDDDD"> Executables only for Windows NT/2000/XP, but
using the Cygwin Posix system (See <b>Win32_cygw17</b>)</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
'experimental' by the Open Group. </p>
</body>
</html>
|