From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2960 invoked by alias); 22 Aug 2005 01:36:11 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 2923 invoked by uid 22791); 22 Aug 2005 01:36:06 -0000 Received: from bay12-f4.bay12.hotmail.com (HELO hotmail.com) (64.4.35.4) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 22 Aug 2005 01:36:06 +0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 21 Aug 2005 18:36:04 -0700 Message-ID: Received: from 209.247.153.147 by by12fd.bay12.hotmail.msn.com with HTTP; Mon, 22 Aug 2005 01:36:03 GMT X-Originating-Email: [qiyaobit@hotmail.com] X-Sender: qiyaobit@hotmail.com In-Reply-To: <7326d8e405082006482db0467b@mail.gmail.com> From: "Yao qi" To: drizzle76@gmail.com, rafael.espindola@gmail.com Cc: gcc@gcc.gnu.org Bcc: Subject: Re: how to compile gcc Date: Mon, 22 Aug 2005 01:36:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-SW-Source: 2005-08/txt/msg00567.txt.bz2 >From: drizzle drizzle >To: Rafael Ávila de Espíndola >CC: gcc@gcc.gnu.org >Subject: Re: how to compile gcc >Date: Sat, 20 Aug 2005 09:48:56 -0400 > >If you are objective is to debug gcc, then all the necessary setup is >already done...Check this documentation > http://gcc.gnu.org/wiki/DebuggingGCC. I have tried this method on wiki about GCC debugging. I am not sure about that and mail the procedure here to verify it, maybe someone of you could clarify for me. Thanks in advance. Here goes the my procedure on GCC debugging. 1 Generate preprocessed source code wiht option -E and redirect to a file named a.c.expand. 2 Debug cc1 by GDB with the arguments "-c a.c.expand" to cc1 Is this a reasonable procedure to debug GCC? Any suggestion and comments are highly appreciated! > >dz > >On 8/20/05, Rafael Ávila de Espíndola wrote: > > http://gcc.gnu.org/install/configure.html > > look at --enable-checking > > and > > http://gcc.gnu.org/install/build.html > > There are more cflags... > > > > The gcc/Makefile.in is also a good reference :) > > > > > Thanks, > > > > > > -Jiang > > > > > > Rafael > > Best Regards ---------------- Yao Qi Bejing Institute of Technology _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/