Compiling ports with debug symbols

Adam blueeskimo at gmx.net
Sun Apr 6 04:17:01 PDT 2003


On Sun, 2003-04-06 at 03:22, Kirill Ponomarew wrote:
> I think you should try:
> 
> make CFLAGS='-g' STRIP=' ' install clean
> 
> Kirill
> 

(/usr/ports/net/licq) - (root at ttyp9.jake) - (07:10:05)
-# make CFLAGS='-g' STRIP=' ' install clean
...

>From there it went on to compile just fine, but -g was NOT added to the
compiler flags.

To verify that no debug symbols were added, I ran licq from within gdb:
(gdb) run
Starting program: /usr/local/bin/licq 
(no debugging symbols found)... debugging symbols found)...(no debugging
symbols found)... (repeated a few more times) ...
Program exited normally. 
(gdb)


-- 
Adam <blueeskimo at gmx.net>



More information about the freebsd-ports mailing list