how to compile gcc
Yao qi
qiyaobit@hotmail.com
Mon Aug 22 01:36:00 GMT 2005
>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/
More information about the Gcc
mailing list