This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Debug build


Howdy,

This is something I look into periodically, and each time I find a solution that's slightly better, but not what I want. I've looked at the wiki (http://gcc.gnu.org/wiki/DebuggingGCC) many times, so no need to refer me there. I am trying to debug the C++ front-end, and I took the wiki's recommendation for building a debuggable compiler
$ make CFLAGS="-g3 -O0" all-stage1
but it did not seem to build the C++ front-end, even though I configured with --enable-languages=c,c++. There is no $build-dir/gcc/cc1plus and $build-dir/gcc/cp is empty. Also, the command
$ make install
failed afterward with
/bin/sh: line 1: cd: ./fixincludes: No such file or directory


Any help?

- John


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]