Re: GCC debug

2009-09-28 Thread Dave Korn
daniel tian wrote: > And this is the debug problem. And hope somebody can give me a clue. > command: > gdb --args $(./xgcc -### > -B/home/daniel.tian/gcc_rice_dev/rice-binutils/build-gcc/./gcc/ > -B/usr/local/cross/rice-elf/rice-elf/bin/ > -B/usr/local/cross/rice-elf/rice-elf/lib/ -isystem > /usr/

Re: GCC debug

2009-09-28 Thread daniel tian
Thanks. But how to debug cc1. Because now I port the gcc to my RISC target. But when build the libgcc2.c. Some error occurred. So i have to debug it. Any advice about how to debug? gdb --args $(./xgcc -### -B/home/daniel.tian/gcc_rice_dev/rice-binutils/build-gcc/./gcc/ -B/usr/local/cross/rice-elf