compile a port with debugging symbols?

Marius Nünnerich marius at nuenneri.ch
Sat Nov 28 15:37:45 UTC 2009


On Sat, Nov 28, 2009 at 15:07, Michael W. Lucas
<mwlucas at blackhelicopters.org> wrote:
> On Thu, Nov 26, 2009 at 07:12:43PM +0200, Andrew W. Nosenko wrote:
>> On Thu, Nov 26, 2009 at 18:10, Michael W. Lucas
>> <mwlucas at blackhelicopters.org> wrote:
>> > Hi,
>> >
>> > Is there an approved/offical way to compile a port with debugging
>> > symbols?
>> >
>> > Habitually I've just run "make configure" and then edited Makefiles.
>> > But I'm sure that's not what you folks recommend users do...
>>
>> IIRC, the
>>   WITH_DEBUG=yes
>> knob is what you looking for.
>
> Hi,
>
> WITH_DEBUG builds with -g, but strips net-mgmt/flowd upon install.
> Haven't tried others.
>
> I can run and debug the binary in the port working directory, however.
>

# make WITH_DEBUG=yes STRIP= install


More information about the freebsd-ports mailing list