[omniORB] Compiling w/ -g
Sai-Lai Lo
S.Lo@orl.co.uk
23 Sep 1998 18:24:45 +0100
One useful tip:
To add '-g' flag, either
1. Add this line to dir.mk in the echo directory:
CXXDEBUGFLAGS = -g
2. Add this line to <top>/config/config.mk
CXXDEBUGFLAGS = -g
include dir.mk # Note: must put CXXDEBUGFLAGS right before
# dir.mk
This way all the libraries and binaries would be compiled with -g flag.
Sai-Lai
>>>>> clinton carr writes:
> I'm using a copy of the echo directory for my first prototype.
> Where do I set the '-g' flag for debugging? I've reversed walked
> the directory tree but I don't see where the compile options are
> being set. I'm using Linux Slackware 3.5.
--
Dr. Sai-Lai Lo | Research Scientist
|
E-mail: S.Lo@orl.co.uk | Olivetti & Oracle Research Lab
| 24a Trumpington Street
Tel: +44 223 343000 | Cambridge CB2 1QA
Fax: +44 223 313542 | ENGLAND