2. Installation


AMMP VEGA edition is included in VEGA ZZ for Windows package and in VEGA command line for Linux. It's also included the AmmpStart.exe program that is able to choose the more appropriate AMMP version. All these executables are placed in VEGA ZZ\Bin directory and they are included in the standard AMMP VEGA edition package (see the Mingw32 directory).



2.1 Linux installation


No installation is required for the Linux version: just place the executable in your command directory (e.g. /usr/local/bin) or in another directory placed in the command path. Please remember to change the file permissions typing the command:

chmod 755 ammp

The standard package includes four AMMP Linux versions: 32 bit for libc 6 (Linux_x86 directory),  64 bit  for libc 6 (Linux_x64 directory), 64 bit for glibc 2.3 (Linux_x64_glibc_2.3 directory) and 32 bit ARM (Linux_ARM directory). If you need to rebuild the executable, follow the next section.



2.2 Unix installation


This manual section shows the steps needed to install AMMP VEGA edition package on Unix-like operating systems (e.g. IRIX, Linux, NetBSD, etc).



2.2.1 Building AMMP VEGA edition


The high portable source code allows to build the package virtually for any computer platform that has a standard ANSI C compiler and the Posix thread library (pthread). It's possible to find some minor compiling problems due to hardware differences. If you can't solve these problems, please contact the Authors.

As first step, you must unpack the Ammp_XX.tar.gz file, using the gzip command. If this command is not available in your system, you can download it from any GNU software archive (see: http://www.opensource.org). The correct syntax is:

gzip -d Ammp_XX.tar.gz

the unpacked file (Ammp_XX.tar) created by gzip must be dearchived with tar command:

tar -xvf Ammp_XX.tar

A directory called Ammp will be created. Alternatively, you could use the commad tar -zxvf skipping the gzip step.

After this operation, change the current directory to ...Ammp/Targets/Version, where Version can be BCB for Windows (Borland C/C++ Builder 6), BDS (Codegear RAD Studio XE), Linux_ARM for 32 bit ARM Linux, Linux_x64 for 64 bit Linux, Linux_x64_glibc_2.3 for 64 bit Linux,  Linux_x86 for 32 bit Linux, Mingw32 for Windows x86, Mingw64 for Windows x64, Unix for generic Unix and Win64 for Windows x64 (VisualC compiler). If your operating system is not directly supported, choose the Unix directory and edit the Makefile, setting the CC variable to the compiler name (usually cc or gcc) and the CFLAGS variable for the best optimization (e.g. -O2).

In the command shell, type make and the AMMP executable will be compiled for your system.



2.2.2 Setting-up your Unix system


No installation is required for the Unix version: just place the executable in your command directory (e.g. /usr/local/bin) or in another directory placed in the command path.