Re: Debugging symbols in ports

2010-03-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alejandro Imass wrote:
> Hi,
> 
> Is there an elegant way to enable debugging symbols in ports in
> general, or is this port-specific? I have read _many_ threads
> regarding this but I can't seem to find a definitive position on this.
> I would not like to resort to the original sources but work from the
> ports themselves.
> 
> Thanks!
> Alejandro Imass

Hi Alejandro,

Try this:

make WITH_DEBUG=yes install clean

WITH_DEBUG adds -g to the CFLAGS and prevents the binary from being
stripped during installation.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLo9jP0sRouByUApARAuTUAJ0X0hp7txxe6J3OAX37kEyow4WeRQCgvFQA
Lz28yinkSFM79WxThqx4d04=
=HAVD
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Debugging symbols in ports

2010-03-19 Thread Alejandro Imass
Hi,

Is there an elegant way to enable debugging symbols in ports in
general, or is this port-specific? I have read _many_ threads
regarding this but I can't seem to find a definitive position on this.
I would not like to resort to the original sources but work from the
ports themselves.

Thanks!
Alejandro Imass
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"