Kaffe requires -g

Well, as Archie points out, that doesn't make any sense. And, as
Godmar pointed out in private mail, the problems from the past are
with missing -O2...
So, the problem really is (and I just tried compiling Kaffe 3
different ways to really confirm this) that Kaffe won't compile
without -O2 or better. Specifically:
-O2 is okay (with or without -g)
-O1 fails
This one is a bit harder to correct in the configure file... Any
thoughts? Here's my (untested) suggestion:
oismissing=1
for i $CFLAGS; do
case $i in
-O[23456])
oismissing=0; ;;
esac
done
if test $oismissing; then
CFLAGS="-O2 $CFLAGS"
fi
-Pat
----- ----- ---- --- --- -- - - - - -
Pat Tullmann tullmann at cs.utah.edu
Success means never having to wear a suit.