This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disable -O2 debug option in the configure processing


On Thu, Mar 28, 2002 at 05:52:25PM +0100, Christophe PLANAT wrote:
> Hi,
> 
> Does anybody knows how to disable -O2 debugging option (and keep only
> -g) in all Makefile generated by configure during the GDB recursive
> configure processing (configure --target ...) ?
> 
> I try several tests modifying mt-[target], forcing CFLAGS=-g ... without
> any success
> 
> Thanks for your help

Set CFLAGS before you run configure and you should be fine.  I use '-O0
-g'.


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]