[prev in list] [next in list] [prev in thread] [next in thread]
List: gmp-devel
Subject: Configuring for debug info
From: tg () swox ! com (Torbjorn Granlund)
Date: 2003-11-18 22:11:25
Message-ID: 86znet2xhg.fsf () king ! swox ! se
[Download RAW message or body]
Kevin Ryde <user42@zip.com.au> writes:
We quietly dropped -g since on the riscs -O2 rearranges code so much
as to make it almost undebuggable anyway.
Worse, -g quietly turns of optimization for many compilers.
> ./configure --enable-maintainer-mode --enable-assert \
> CFLAGS="-g -O2 -fomit-frame-pointer -mcpu=athlon -march=athlon"
Yep, if you want those extra flags too.
Except that -fomit-frame-pointer will make debugging practically
impossible for many platforms.
--
Torbj?rn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic