summaryrefslogtreecommitdiff
path: root/html/en/guide.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/en/guide.html')
-rw-r--r--html/en/guide.html29
1 files changed, 18 insertions, 11 deletions
diff --git a/html/en/guide.html b/html/en/guide.html
index 93cd1df..d1aad3e 100644
--- a/html/en/guide.html
+++ b/html/en/guide.html
@@ -63,27 +63,34 @@
<h3 align="left"><a name="buildlib">Building the Library</a> </h3>
-<p>In the Downloads you will ne able to find pre-compiled binaries for many
+<p>In the Downloads you will be able to find pre-compiled binaries for many
platforms, all those binaries were built using Tecmake. Tecmake is a command line multi compiler build tool
based on GNU make, available at
<a target="_blank" href="http://www.tecgraf.puc-rio.br/tecmake">http://www.tecgraf.puc-rio.br/tecmake</a>. Tecmake is
used by all the Tecgraf libraries and many applications.</p>
-<p>In UNIX, you do not need to install Tecmake, a compact version of Tecmake for
-UNIX is already included in the source code package. Just type &quot;make&quot; in the
-command line on the &quot;src&quot; folder and all libraries and executables will be
-build.
-Set the TECTOOLS_HOME environment variable to the folder were the IM and Lua
-libraries are installed, by default it will assume &quot;TECTOOLS_HOME=../..&quot;.</p>
+<p>In UNIX, you do not need to install Tecmake, a version for Posix systems is
+already included in the source code package. Just type &quot;make&quot; in the command
+line on the &quot;src&quot; folder and all libraries will be build. Set the TECTOOLS_HOME
+environment variable to the folder were the IM and Lua libraries are installed,
+by default it will assume &quot;TECTOOLS_HOME=../..&quot;.</p>
<p>In Linux, check the &quot;<a href="../../../iup/html/en/building.html">Building Lua, IM, CD and IUP in
Linux</a>&quot; guide.</p>
<p>In Windows, the easiest way to build everything is to install the Tecmake tool into your system. It is easy and helps a lot.
The Tecmake configuration files (*.mak) available at the &quot;src&quot; folder are very easy to understand also.
-Also there are files named
+There are files named
<i>make_uname.bat</i> that build the libraries using <b>Tecmake</b>. To build for Windows using
- Visual C 7.0 (2005) for example, just execute <i>&quot;make_uname vc7&quot;</i> , or the
-DLLs with Visual C++ 9 (2008) type <i>&quot;make_uname dll9&quot;</i>. The Visual
+ Visual C 9.0 (2008) for example, just execute <i>&quot;make_uname vc9&quot;</i> , or
+for the
+DLLs type <i>&quot;make_uname dll9&quot;</i>. The Visual
Studio workspaces with the respective projects available in the source package
is for debugging purposes only.</p>
+<p>If you don't want to install Tecmake you can use the version for Windows
+systems that is included in the source code package. BUt is is more complicated
+that its Posix counterpart. First the GNU make must be installed and in the PATH
+before other makes. In the command line you must specify the compiler path and
+the TEC_UNAME variable. For example:</p>
+<pre>make -f tecmakewin.mak TEC_UNAME=mingw4 MINGW4=c:/mingw
+make -f tecmakewin.mak TEC_UNAME=gcc4 GCC4=c:/cygwin (Cygwin building for Win32)</pre>
<p>Make sure you have all the dependencies for the library you want installed,
see the documentation bellow.</p>
<p>If you are going to build all the libraries,
@@ -126,7 +133,7 @@ cdluagl51 -&gt; cdlua51
<p>As a general rule (excluding system dependencies and included third party
libraries): CD has NO external dependencies, and CDLua depends on Lua and IMLua.
Just notice that not all CDLua libraries depend on IMLua.</p>
-<p>The Lua bindings for IUP, CD and IM (Makfiles and Pre-compiled binaries)
+<p>The Lua bindings for IUP, CD and IM (Makefiles and Pre-compiled binaries)
depend on the <a href="http://luabinaries.luaforge.net/">LuaBinaries</a>
distribution. So if you are going to build all use the <strong>LuaBinaries</strong>
source package also, not the <strong>Lua.org</strong> original source package.