Unix: Normally you can install a stable version of cgdb through your distribution's packaging system. Packages are available in all major Linux distributions (Arch, CentOS, Debian, Fedora, Gentoo, RedHat, Ubuntu, and probably others), as well as in the MacPorts system for MacOS X.
Windows binary: cgdb-0.6.6-win32.tar.gz
This is a Cygwin executable that will run in a command window or a Cygwin terminal. Cygwin users may need to delete the DLLs in the 'bin' directory.
- readline 5.1 or greater. An important design problem was fixed in version 5.1, any older version will not support cgdb.
- ncurses (or curses, but it doesn't always look pretty), any recent version (i.e. 5+) will do.
cgdb's git repository is available for development purposes, and may be less stable than official releases of cgdb.
Git (anonymous) download command:
git clone git://cgdb.git.sourceforge.net/gitroot/cgdb/cgdb
After checking out the tree, you will need to generate the configure
script before you can configure and build the code. Run
"autogen.sh" at the top level of the source tree to do this
Note: Building the code checked out from git will require additional tools installed to generate the autoconf script. We use the following versions, although others may work for you:
- automake (GNU automake) 1.11.1
- autoconf (GNU Autoconf) 2.67
- m4 (GNU m4) 1.4.14
Finally, if you decide to modify the tokenizer library or the config file module, you will need to have flex installed. We have used flex 2.5.35 to build cgdb.