Re: Debuggable compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hendrik,

my approach was close to the wiki entry without editing the Make Files.
My script was:
export BOOT_FLAGS='-O0 -g3'
export STAGE1_FLAGS='-O0 -g'
export CXX_FLAGS='-g3 -O0'

../gcc/configure
make
make install-gcc

Let me know if this worked for you.
With best regards,
Jens Mehler

Am 14.08.13 19:08, schrieb Hendrik Greving:
So far I've been editing some makefile in order to get a debuggable
compiler. I just tried the instructions at

http://gcc.gnu.org/wiki/DebuggingGCC

I did

cd myobjdir
../gcc4/configure --prefix=/my/disk/usr/hgreving/sysroot_4_8_1
--program-prefix=special- --program-suffix=-4.8.1
make STAGE1_CFLAGS="-g -O0" all-stage1
make install

I am getting this error:

/bin/sh: line 0: cd: ./fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/my/disk/usr/hgreving/myobjdir'

Is there something very obvious that I am doing wrong?

Thanks,
Regards,
Hendrik Greving




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux