Hello,

from time to time, we discuss about the same problem again: Linking with debug information is sooo time-consuming.

I would like to remind you of a very simple solution:


Index: config/lyxinclude.m4 =================================================================== RCS file: /cvs/lyx/lyx-devel/config/lyxinclude.m4,v retrieving revision 1.89 diff -u -r1.89 lyxinclude.m4 --- config/lyxinclude.m4 2003/09/16 15:23:54 1.89 +++ config/lyxinclude.m4 2003/11/12 10:37:34 @@ -216,7 +216,7 @@ *) CXXFLAGS="$lyx_opt";; esac if test x$enable_debug = xyes ; then - CXXFLAGS="-g $CXXFLAGS" + CXXFLAGS="-gstabs $CXXFLAGS" fi fi if test x$enable_warnings = xyes ; then



This works very well with gcc 3.3.1 even on a 128MB machine. The back traces still look reasonable and the use of valgrind is not restricted (beside the output of some useless warnings at the beginning).

Just a proposal,

Michael



Reply via email to