This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Disable -O2 debug option in the configure processing
- From: Christophe PLANAT <christophe dot planat at st dot com>
- To: drow at mvista dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 29 Mar 2002 08:52:06 +0100
- Subject: Re: Disable -O2 debug option in the configure processing
- Organization: ST CR&D Crolles
- References: <3CA34A49.58E5CC4C@st.com> <20020328120219.A19654@nevyn.them.org>
drow@mvista.com wrote:
>
> 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
Thanks a lot. It works exactly as whished
Christophe
--
----------------------------------------------------------------------
| Christophe PLANAT | Embedded Systems Technology |
| Email : Christophe.Planat@st.com | STMicroelectronics |
| Phone : +33 04 76 92 68 82 | 850, rue Jean-Monnet |
| Fax : +33 04 76 92 50 94 | BP 16 - 38921 Crolles - France |
----------------------------------------------------------------------