| Jørgen Havsberg Seland 2005-02-20, 3:55 pm |
| For those who want a command-line client for DBG on windows also, here's
one way of building it under cygwin:
The configure script won't build out of the box (version 2.11.32), and
has to be rebuilt. Do as follows:
1) Make sure you have the common developer tools installed (autoconf,
automake, libtool, gcc etc. readline and ncurses are also required. For
details, consult the README in the archive).
2) Run ./buildconf, a script included in the archive.
3) Run ./configure and make as usual.
Make chokes on the last line for me, there appears to be a problem with
libtool. You can get around this by manually invoking g++, by issuing
the following two commands:
cd dbg
g++ -g -O2 -o dbg-cli.exe -L../dbgbase -L../pcre -L../getopt
dbg_cli-command.o dbg_cli-dbgclient_classes.o dbg_cli-main.o
-ldbgbase -lpcre_1 -lstdc++ -lreadline -lgetopt_1 -ltermcap
(The last command has been broken into three lines in this posting.)
This will give you a (hopefully) working dbg-cli.exe which works just
like the one on linux/unix.
Note: There are no guarantees as to the functionality of this build.
I've had problems debugging on the default port (10001), and have to
issue the following commands to successfully listen to a debug session:
set port 7869
listen
(If you're unfamiliar with DBG, take a look at <http://dd.cron.ru/dbg/>.)
--
jørgen h. seland - jorgen snabel-a stud dot ku dot dk
|