From 7c8e1fc2a2044be0082b90adc194ab3e188fa723 Mon Sep 17 00:00:00 2001
From: scuri In the Downloads you will ne able to find pre-compiled binaries for many
+ 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
http://www.tecgraf.puc-rio.br/tecmake. Tecmake is
used by all the Tecgraf libraries and many applications. 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 "make" in the
-command line on the "src" folder and all libraries and executables will be
+ In UNIX, you do not need to install Tecmake, a version for
+Posix systems is already included in the source code package. Just type "make" in the
+command line on the "src" folder and all libraries will be
build.
Set the TECTOOLS_HOME environment variable to the folder were the Lua libraries
are installed, by default it will assume "TECTOOLS_HOME=../..".Building the Library
-
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 "src" folder are very easy to understand also. -Also there are files named +There are files named make_uname.bat that build the libraries using Tecmake. To build for Windows using - Visual C 7.0 (2005) for example, just execute "make_uname vc7" , or the -DLLs with Visual C++ 9 (2008) type "make_uname dll9". The Visual + Visual C 9.0 (2008) for example, just execute "make_uname vc9" , or +for the +DLLs type "make_uname dll9". The Visual Studio workspaces with the respective projects available in the source package is for debugging purposes only.
+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:
+make -f tecmakewin.mak TEC_UNAME=mingw4 MINGW4=c:/mingw +make -f tecmakewin.mak TEC_UNAME=gcc4 GCC4=c:/cygwin (Cygwin building for Win32)
Make sure you have all the dependencies for the library you want installed, see the documentation bellow.
If you are going to build all the libraries, @@ -120,7 +128,7 @@ imlua_process51 -> imlua51 -> im_process
As a general rule (excluding system dependencies and included third party libraries): IM has NO external dependencies, and IMLua depends on Lua.
-The Lua binding for IM (Makfiles and Pre-compiled binaries) depend on the +
The Lua binding for IM (Makefiles and Pre-compiled binaries) depend on the LuaBinaries distribution. So if you are going to build all use the LuaBinaries source package also, not the Lua.org original source package. If you like to -- cgit v1.2.3