In the last episode (Mar 26), Martin Moeller said:
> * Dan Nelson <[EMAIL PROTECTED]> [26.03.03 21:13]: If it's your
> > program, recompile and link with the -g commandline switch added. 
> > If it's a base FreeBSD program (or port), edit the Makefile and add
> > a line reading "DEBUG_FLAGS=-g" (this will compile with -g and also
> > not strip the debugging symbols when the binary gets installed).
> 
> Thanks for your response, Dan.
> I tried that out with gnuls package in the ports and added
> DEBUG_FLAGS=-g
> to /usr/ports/misc/gnuls/Makefile
> 
> Without any success, though.

Ok, it looks like the ports tree doesn't fully use DEBUG_FLAGS (it does
listen to it when determining whether to strip binaries or not though). 
Try adding -g to the CFLAGS= line in /etc/make.conf .

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to