← Back to team overview

yade-users team mailing list archive

Re: compiling in debug mode


Janek Kozicki said:     (by the date of Mon, 26 Jun 2006 20:20:02 +0200)

> then compile yade *again* with flag -g
> (make sure to execute before: make clean CXXFLAGS='...' INSTALLDIR='..' PREFIX_DIR='...')
> like this:
> if you used any other flags inside CXXFLAGS then use them as well,
> separated by spaces. (for example: CXXFLAGS='-pthread -lpthread -g')

Oh, I forgot to say, that you shouldn't use any optimizations flags,
like -O3, because speed optimization is conflicting with -g, the debug flag.

Janek Kozicki                                                         |
Yade-users mailing list