Debugging symbols in ports
glarkin at FreeBSD.org
Fri Mar 19 20:04:50 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Alejandro Imass wrote:
> 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.
> Alejandro Imass
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,
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/
-----END PGP SIGNATURE-----
More information about the freebsd-questions