There are two types of Dawg: release and stable. Stable is the main development branch. Releases are branches of stable that have satisfied certain milestones.
The most recent release of Dawg is version 1.2. There are binary installers for Windows and Macintosh, as well as a binary compiled for Linux. There are also two source distributions for Windows and Unix varieties. Binary installers are experimental. Send me an email if you have difficulty installing one.
- Latest Source Code Release: dawg-release.tar.gz (Unix) dawg-release.zip (Win32)
- Latest Windows Installer: dawg-release-win32-x86.exe
- Latest Mac OS X Installer: dawg-release-Darwin8-universal.dmg
- Latest Linux Binary: dawg-release-Linux-i686.tar.gz
The stable source code of Dawg can be downloaded from the subversion repository: svn://scit.us/dawg/stable/. Only advanced users should attempt to build from the stable source since it is a development branch. A distribution of stable is rolled weekly if it compiles.
- Latest Stable Distribution: dawg-stable.tar.gz
Install from Source
Dawg requires CMake 2.6 to build it from sources. Many Unix-like operating systems can install CMake through their package systems. Extract the Dawg source code and issue the following commands in the extracted directory:
cmake . make make install
The '-G' option to cmake is used to specify different build systems, e.g. Unix Makefiles versus KDevelop3 project. The '-D' option to cmake can be used to set different cmake variables from the command line:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . make make install
This will build an optimized version of Dawg and install it to '/usr/bin'. To specify your own build flags you need to set the environment variables CFLAGS and LDFLAGS as necessary. Then specify
cmake -DCMAKE_BUILD_TYPE= .
See CMake's manual for additional information.
If you want to build the source code on Windows you will need to install Flex and Bison from the Gnuwin32 project, and make sure that they are in your path. You can then run the CMake GUI interface. If you would prefer to run the command line version, then open up a command console through the Visual Studio tools shortcut (or similar shortcut). This will add the required compiler programs to your command console environment. After changing to the source code directory issue the following commands:
cmake -G "NMake Makefiles" . nmake
If successful, you should find dawg.exe in the "src" directory.
If you are trying to compile Dawg on a UNIX machine that does not have CMake installed, and you can't install it from a package, then you may need to install it locally. After downloading and extracting CMake in your home directory, change to its directory and issue the following commands.
./configure --prefix=$HOME make make install
If "make" fails, try using "gmake" instead.
Development of Dawg uses a Subversion 1.6 repository, which can be found at svn://scit.us/dawg/. Released versions of Dawg can be found in svn://scit.us/dawg/release/, whereas the stable revision can be found in svn://scit.us/dawg/stable/.
If you have subversion installed, you can check out the repository using to following command.
svn co svn://scit.us/dawg/stable dawg