CVS build problem

Alan Young (ayoung@teleport.com)
Wed, 28 Jul 1999 00:41:10 -0700


Hi all,

I ran into some problems while trying to build the current CVS tree.

In the wv tree, the configure script has a problem working with the MS C
compiler. It tries to use -o switch to specify the executable, when it
should be using -Fe. I'm not sure if this is the correct fix or not, but
I changed this in wv/configure.in:

echo "configure:719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS)
works" >&5

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'

to

echo "configure:719: checking whether the C compiler ($CC $CFLAGS $LDFLAGS)
works" >&5

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
if test $CC-cc = cl.exe; then
ac_link='${CC-cc} -Fe conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
else
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
fi

That got configure to run. I still get a warning out of configure of
"configure:
error: installation or configuration problem: C compiler cannot create
executables".
I'm not sure if that is a real problem.

However once past that, I hit an #error directive in
abi/src/other/spell/config.h.
The error is "This file is not used.".

Alan



This archive was generated by hypermail 1.03b2.