← 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:
> 
> CXXFLAGS='-g'
> 
> 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
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users



References