Thread (16 messages) 16 messages, 7 authors, 2019-05-08

Re: [PATCH 2/2] mingw: enable DEP and ASLR

From: Johannes Schindelin <hidden>
Date: 2019-05-08 11:34:10

Hi Brian,

On Wed, 1 May 2019, brian m. carlson wrote:
On Wed, May 01, 2019 at 08:39:22PM +0200, Alban Gruin wrote:
quoted
-Og also exists to debug[0], even if it’s far less known.  Perhaps it’s
better to check for -g (and its variants[1]) as the user clearly states
their intent to debug the resulting binary, rather than checking for
special cases.
I can't speak for the Windows folks, but Debian frequently builds with
-O2 -g and strips the debugging symbols into a separate package that can
be installed in case of a crash. So -g need not be an indication of
non-production use.
Precisely, Git for Windows imitates this strategy.

Thanks,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help