[EMAIL PROTECTED] ,in message <
>, wrote:
> ps. Does anybody know how to detect egcs, or test whether we can use
> the -fno-exceptions flag, using autoconf?
No, but maybe this will help:
frop:6 $ echo "int i;" > foo.c && if gcc -fno-exceptions foo.c; then echo true; else
echo false; fi
cc1: Invalid option `-fno-exceptions'
false
remember to "rm foo.c a.out" and you might want to >/dev/null stdout and
stderr to shut it up.
Seinfeld moment: "If it's generating an ELF executable instead of a.out, why
is the default binary still called a.out?"
--
Bob Forsman [EMAIL PROTECTED]
http://www.gainesville.fl.us/~thoth/