help on compile error (4.0.1)

2005-08-24 Thread Jiang Long
Hello, I am compiling GCC-4.0.1 with the following : ../gcc-4.0.1/configure --enable-tree-browser=yes --prefix=/home/jiang/DEV/gcc-dev/trunk/install --enable-languages=c,c++ --enable-maintainer-mode=yes After a while I got the following errors with : Adding multilib support to Makefile in ..

how to compile gcc

2005-08-19 Thread Jiang Long
Hello, I 'd like to dig into gcc internals, and would like to compile it with -g. I can't find any document on how to do that? I tried make BOOT_CFLAGS=-g CFLAGS=-g, but it still will add '-O2' later on. Any documentation on how GCC is compiled? what are the stages of the compilation? Tha