>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Lars Gullik Bjønnes wrote: >> Angus Leeming <[EMAIL PROTECTED]> writes: >> >> | Since I'm whining about things being slow... >> | >> | The Debian unstable dist that I use at work currently ships with >> | $ g++ --version | g++ (GCC) 4.0.2 20050917 (prerelease) (Debian >> 4.0.1-8) >> | >> | I notice that LyX link times have become painfully slow (10+ | >> minutes) compared to 2+ minutes last time I tested on this box | >> with gcc 3.x. Does anybody else see this? Lars? >> >> Compiling with debug on? I never do that and get ~10 sec links... Angus> Yes, default CXXFLAGS of "-g -O" (plus all that other noise Angus> -Wextra -fno-exceptions, etc, etc, etc.) Angus> Incidentally, does "-g -O" produce useful backtraces or is it Angus> basically pointless? That makes a big difference in backtraces in my experience. What I do sometimes is to compile without debug info and, when I need a backtrace, just recompile a few modules with -O, like: rm src/buffer.o src/bufferparams.o make CXXFLAGS='-g O' It is not perfect, but allows reasonable backtraces in a quick build. JMarc