egcs-1.0.1 configuration bugs

John Hughes john@AtlanTech.COM
Fri Jan 23 03:01:00 GMT 1998


1. In egcs-1.0.1/configure.in I see:

# Default to using --with-stabs for certain targets.
if [ x${with_stabs} = x ]; then
  case "${target}" in
  mips*-*-irix6*)
    ;;
  mips*-*-* | alpha*-*-osf* | i[3456]86*-*-sysv4* | i[3456]86*-*-unixware*)
    with_stabs=yes;
    withoptions="${withoptions} --with-stabs"
    ;;
  esac
fi

but the SVR4 and UnixWare "as" can't digest .stabs

2. there also seems to be a bug in egcs-1.0.1/gcc/configure:

# With stabs
# Check whether --with-stabs or --without-stabs was given.
if test "${with_stabs+set}" = set; then
  withval="$with_stabs"
  stabs=yes
else
  stabs=no
fi

This seems to set "stabs" to "yes" if "--with-stabs=no" is given (the "withval"
variable is ignored).  Many other variables get set in the same manner.

Easier to write a compiler than a configuration script it seems!

-- 
John Hughes <john@AtlanTech.COM>,
	Atlantic Technologies Inc.	Tel: +33-1-43204546
	24 rue Montbrun,		 Fax: +33-1-43204579
	75014 PARIS.





More information about the Gcc-bugs mailing list