|
BuildingTargets
How to build the Virtual AGC targets.
Building Virtual AGC TargetsFirst obtain get a working copy of the sources from the Source tab. 1 Building for Linux1.1 Linux PrerequisitesThe following software packages are required:
1.2 Build Linux SoftwareTo build the software change your active working directory to the location where you placed the virtualagc files ( e.g. cd <path>/virtualagc ). From there execute the following four commands to consecutively configure your build environment, remove all the previous targets, build the new targets and install them (default: /usr/local). To change this install location use the --prefix=<installdirectory> as an argument to the configure script. configure make clean make sudo make install 2 Building for Win322.1 Win32 PrerequisitesTo build under windows an extensive list of packages needs to be installed in order to build the simulation tools yaDEDA and yaDSKY. The gtk+ binaries and development packages can be downloaded from The GTK+ Project. If you are just interested in building the yaAGC, yaAGS and other command line tools then you do not need all gtk+ packages but you still need POSIX Threads for Win32, the GNU Readline for Win32 library and the GNU Compiler tool set MinGW with a basic set of UNIX tools packaged as MSYS (also hosted on the MinGW site). The following is a list of all packages that will enable a full Win32 build:
2.2 Win32 SetupFirst install MinGW in its default location (i.e. C:\MinGW). Then install MSYS in its default location and make it aware of the MinGW location (as requested during install). Extract all the GTK+ packages to the MinGW as well as the readline package. From the pthreads library make sure to copy the shared libraries files (i.e. .dll) into the bin directory of MinGW and the header files (i.e. .h )and library (i.e. .a) into respectively the include and lib folder of MinGW. If the installers haven't done so make sure both the MinGW and MSYS bin directories are added to your search path. 2.3 Build Win32 SoftwareChange directory into the root of the virtualagc project sources and type: make -f Makefile.Win32 all make -f Makefile.Win32 install |