This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building with --enable-languages problematic


On Tue, Oct 09, 2001 at 06:59:35PM +0200, Daniel Egger wrote:
> Hija,
> 
> the configure script has a bug that makes it troublesome to build
> a version of gcc with only selected languages.
> 
> Using ../gcc/configure --enable-languages="c c++" works fine on
> the first time but the build fails terribly on consecutive tries
> when the dependencies trigger a rebuild of the scripts by issueing
> config.status. 
> 
> The problem is that the configure call in there uses --enable-languages
> without glueing the additional arguments together by ""'s.
> 
> Thus it looks like this
> ../gcc/configure --with-gcc-version-trigger=/devel/gcc/gcc/version.c
> --enable-languages=c c++
> 
> and fails.
> 
> Can anyone with more insight handle this please?

Try --enable-languages="c,c++"; I think that's how it's documented to
work.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]