- Just run
make
to build.
- Run
make install
- It will copy
gdbout_api.h
to/usr/include
- Run
sudo make install_all
- It will copy
gdbout_api.h
to/usr/include
,rdircgdberr
,rdircgdbout
,serverrun.sh
to/usr/bin/
- If you run you program with this header file, you program will try to connect to serverrun.sh, or will not.
- Just
#include <gdbout_api.h>
, and simply callclientInit(STDOUT_FILENO, STDERR_FILENO);
orclientAutoInit();
at begin of functionmain
. Runserverrun.sh
before callingclientInit();