Re: do not strip, compile with debugging symbols

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Xin LI
Date: Wednesday, July 16, 2008 - 5:37 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

xorquewasp@googlemail.com wrote:
| Hello.
|
| What's the correct way to ensure that ports are built with '-g'
| and that binaries/libraries created are not stripped? I'm assuming
| the first one involves setting CFLAGS in /etc/make.conf (admittedly,
| it's apparently not supported but I'm not building world with this
| setting anyway).
|
| The second, I'm not so sure about. I thought I'd heard of a NO_STRIP
| setting but if it exists, it's not documented.

I think the setting is spelled as 'WITH_DEBUG=yes' which will add '-g'
and remove stripping.  However, it still depends on the ported software
whether they will strip, most times they will obey the settings (if not
then it's a bug that should have fixed anyway).

- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkh+lGYACgkQi+vbBBjt66C+BwCeMRzZaME1pV5b/G0PEkfmHFIY
ttwAnRqb38Qgju365yitGRGAejfyj/zP
=EfoP
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
do not strip, compile with debugging symbols, xorquewasp, (Wed Jul 16, 4:49 pm)
Re: do not strip, compile with debugging symbols, Xin LI, (Wed Jul 16, 5:37 pm)
Re: do not strip, compile with debugging symbols, xorquewasp, (Wed Jul 16, 5:55 pm)
Re: do not strip, compile with debugging symbols, xorquewasp, (Wed Jul 16, 6:10 pm)