This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: how to compile gcc
- From: "Yao qi" <qiyaobit at hotmail dot com>
- To: drizzle76 at gmail dot com, rafael dot espindola at gmail dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 22 Aug 2005 09:36:03 +0800
- Subject: Re: how to compile gcc
- Bcc:
From: drizzle drizzle <drizzle76@gmail.com>
To: Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
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 <rafael.espindola@gmail.com> 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/