Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 16:03:52 -0500
From:      Gerard <gerard@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   How to build program with debug symbols
Message-ID:  <20070222160325.8AE0.GERARD@seibercom.net>

Next in thread | Raw E-Mail | Index | Archive | Help
FreeBSD-6.2

I need to know how to build a program with debugging symbols. The
problem I am having is that claws-mail-2.7.2 continually crashes but
does not display any debug symbols. I talked with the claws-mail people,
and they advised me to build a version with debug symbols since the
output I supplied them was useless without it. Their suggestion was that
I build from a tarball and use the proper ‘config’ flags to get debug
symbols included in the program. The problem is that I would rather not
mess with that scenario, but rather use the port version instead. The
port version does have an option to build a debug version, but
apparently, the symbols are stripped out when the program is installed.

The port maintainer suggested that I use this is the Makefile:

	"STRIP= #empty"

However, he is not even sure if it will work. I just want to find out
what the best way to go about this is so that I can get this problem
resolved.

Thanks!

-- 
Gerard

Here is today's useless fact:

If you have three quarters, four dimes, and four pennies, you have $1.19.
You also have the largest amount of money in coins without being able to
make change for a dollar.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070222160325.8AE0.GERARD>