Greg 'groggy' Lehey wrote:
On Sunday,  9 February 2003 at 16:12:44 -0500, Bill Moran wrote:

Daniela wrote:

On Sunday 09 February 2003 19:15, Mike Meyer wrote:

You can get everything to build with debug symbols by adding
"CFLAGS=-g" to /etc/make.conf. However, the system will strip the
binaries when it installs them. You could probably get the
non-stripped version installed if you really wanted to, but I'd
recommend not doing that, and just using the version in /usr/obj,
which shouldn't be stripped, for debugging.
Why shouldn't I do this? Is it just because debug binaries are bigger or
run slower? If so, that's not a problem for me, I have a fast processor
and a lot of memory.
I guess if you don't mind them eating up RAM, then go ahead.  Keep
in mind that it can easily be 5x the amount of RAM a stripped binary
The symbols don't get loaded into memory on execution.  There
shouldn't be any difference in the amount of RAM used.
OK, well ... I feel stupid then.

It's just a disk space issue then?  Because ... if it doesn't eat up RAM,
I have a hard time thinking why I shouldn't have all my binaries with debug
symbols all of the time.

Bill Moran
Potential Technologies

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to