tech-toolchain archive

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

Re: internal compiler error



On Thu, Apr 10, 2014 at 11:03:32AM +0200, Thomas Klausner wrote:
> My build.sh line contains 'DBG="-O2 -g"'. Is there a better way to get
> debug information included in the userland? (MKDEBUG and MKDEBUGLIB
> are not documented in src/BUILDING; on the other hand, neither is
> DBG.)

You can re-invoke g++ manually and add -v to the command line, which
will make it print out the actually cc1plus invocation - which you
can then run inside gdb.

Martin



Home | Main Index | Thread Index | Old Index