This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Can't build 3.3.5 without getting java?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Hugh Sasse'" <hgs at dmu dot ac dot uk>,<gcc at gcc dot gnu dot org>
- Date: Wed, 4 May 2005 17:38:04 +0100
- Subject: RE: Can't build 3.3.5 without getting java?
----Original Message----
>From: Hugh Sasse
>Sent: 04 May 2005 15:45
> # LANGOPT="--enable-languages=c,c++,f77,java,objc"
> LANGOPT="--enable-languages=c,c++,f77"
>
> cd $BUILD_DIR
> /bin/rm -rf ./*
> ${GCC_SOURCE_DIR}/configure $ASOPT $LDOPT $LANGOPTS --disable-nls \
> --with-local-prefix=/tmp/gcc-local --without-libjava --without-gcj
> && \
> # gmake --jobs=5 bootstrap-lean && \
> gmake bootstrap-lean && \
> gmake check
>
> </quote>
> Why isn't --enable-languages=c,c++,f77 sufficient to stop this?
Because you assigned that to $LANGOPT (no trailing 'S'), but the configure
command line has it spelt as $LANGOPTS (note trailing 'S'!), so it didn't
_actually_ get passed to the configure command?
cheers,
DaveK
--
Can't think of a witty .sigline today....