|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Re: how to compile gama-local.exe formatOn Mon, Jan 05, 2009 at 01:00:19PM -0800, TerryO wrote:
> Are there any instructions on how to compile this version to a Windows > gama-local.exe format? Building makefiles under GNU Linux ================================== 1) download Gama sources cvs -d:pserver:anonymous@...:/sources/gama co -P gama change working directory to gama cd gama and run configure script and build the Gama project build the static library libgama.a ./configure make -C lib 2) compile helper program scripts/gnu_gama_dep make -C scripts gnu_gama_dep Makefiles are created by a bash script build-non-gnu-makefiles. Where run without parameters it displays the help scripts/build-non-gnu-makefiles usage: cd working-directory scripts/build-non-gnu-makefiles gnu | win32-borland | win32-msvc The script (with the helper program gnu_gama_dep.cpp) is run from a working directory with GNU gama source codes. Resulting makefiles are written to the 'lib' subdirectory. Before using makefile you need to rename file lib/config.h-"platform" to lib/config.h. 3) copy script build-non-gnu-makefiles to the working directory cp scripts/build-non-gnu-makefiles . and run ./build-non-gnu-makefiles win32-msvc Five makefiles are build in the subdirectory gama/lib gama/lib/Makefile-all-win32-msvc gama/lib/Makefile-gama-local-win32-msvc gama/lib/Makefile-expat-win32-msvc gama/lib/Makefile-lib-win32-msvc gama/lib/Makefile-gama-g3-win32-msvc 4) copy all directories if necessary to a Microsoft windows disc and rename config.h-win32-msvc to config.h (as mentioned in step 2) Compiling Gama under MS Windows =============================== 5) start Visual Studio .NET Command prompt and change to the gama source code tree directory gama/lib and run nmake -f Makefile-all-win32-msvc Static library libgama.lib and program gama-local.exe (and also gama-g3.exe) should be compiled and linked now (if nothing went wrong) ---- I am not familiar with Microsoft .NET studio so if you have any suggestion for adding/changing of the compile/link parameters, please let me know. I am sending you all the makefiles and gama-local.exe in the next Ales Cepek _______________________________________________ Info-gama mailing list Info-gama@... http://lists.gnu.org/mailman/listinfo/info-gama |
| Free embeddable forum powered by Nabble | Forum Help |