This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: help: how to use tree-browse function in gcc4.1.1?
- From: Ian Lance Taylor <iant at google dot com>
- To: "MCG SUN Xun" <Xun dot SUN at alcatel-sbell dot com dot cn>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: 05 Sep 2006 08:25:06 -0700
- Subject: Re: help: how to use tree-browse function in gcc4.1.1?
- References: <B97707508A7CDE4E9B5338C63A8818DA0F5D84@htmail.sbell.com.cn>
"MCG SUN Xun" <Xun.SUN@alcatel-sbell.com.cn> writes:
> I download gcc4.1.1 and compiler it, debug it with gdb,
> then according to
> http://gcc.gnu.org/projects/tree-ssa/tree-browser.html,
> I want to use :
> gdb> p browse_tree
> but it shows: no this function.
> Then I grep tree-browse.o under my gcc install directary, and no this
> file there.
> I try to find the configure and Makefile.in and no clue there.
> I try to re-compiler gcc4.1.1 with:
> ./configure --enable-tree-browse --enable-tree-checking
> --prefix=MYDIR --enable-language=c
> ./make
> ./make install
> But there is also no tree-browse.o generated.
You need to configure with "--enable-checking=tree". The
documentation is probably out of date.
Ian