JMarc> It is not there in the rae branch, since xtl uses both. 

Lars > ok, rae branch...
Lars > could it be that the linker (+++) does not handle exceptions right?

NOOOOOOOO! (Angus falling over cliff --- please help!)
I'm trying to compile the HEAD branch.

Lars> Where is the -fno-exceptions -fno-rtti?

These are compiling options, not linking ones. g++ does not pass them to
collect2. In more detail:

g++ -g -O -fno-rtti -fno-exceptions -W -Wall -Wconversion -Winline -v -o lyx 
ALLOBJECTFILES -lforms -lXpm -lSM -lICE -liberty -lc -lm -L/usr/lib -lX11 -ldnet_stub
Reading specs from /usr/local/GNU/lib/gcc-lib/alphaev5-dec-osf4.0e/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/local/GNU/lib/gcc-lib/alphaev5-dec-osf4.0e/2.95.2/collect2 -G 8 -O3 -call_shared 
-o lyx /usr/lib/cmplrs/cc/crt0.o -L/usr/lib -L/usr/shlib -L/usr/shlib/X11 
-L/usr/local/lib -L/usr/local/GNU/lib -L/usr/local/qt/lib -L/usr/local/kde/lib 
-L/usr/local/GNU/lib/gcc-lib/alphaev5-dec-osf4.0e/2.95.2 -L/usr/lib/cmplrs/cc 
-L/usr/local/GNU/lib ALLOBJECTFILES  -lforms -lXpm -lSM -lICE -liberty -lX11 
-ldnet_stub -lstdc++ -lm -lc -lgcc -lc -lgcc

where ALLOBJECTFILES are all LyX's object files and static libraries.

Note that some magic goes on here, removing irrelevant flags and (cleverly)
rearranging/adding libraries.

Reply via email to