This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with GCC build
- From: Alan Nilsson <alan dot n at mac dot com>
- To: Eugaia-GCC <gcc dot eugaia at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 23 Mar 2010 15:15:50 -0700
- Subject: Re: Problem with GCC build
- References: <4BA92CA7.8060208@gmail.com>
Did you download the full GCC package or just the core package? I believe that the core package only contains support for c.
alan
On Mar 23, 2010, at 2:03 PM, Eugaia-GCC wrote:
> Hi,
>
> I'm trying to compile GCC, but I'm getting an error that I can only compile for the 'C' language, and not C++ etc.
>
> GCC version to compile : 4.4.3
>
> Configure :
>
> --prefix=/simpl/apps/gcc/4.4.3
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang
> --with-gmp=/simpl/apps/gmp/5.0.1
> --with-mpfr=/simpl/apps/mpfr/2.4.2
>
> Compiler output :
>
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for gnatbind... no
> checking for gnatmake... no
> checking whether compiler driver understands Ada... no
> checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
> checking for correct version of gmp.h... yes
> checking for correct version of mpfr.h... yes
> checking for version 0.10 of PPL... no
> checking for correct version of CLooG... no
> configure: error:
> The following requested languages could not be built: c++,fortran,objc,obj-c++,treelang
> Supported languages are: c
>
> compile.log has been attached
>
> Can anyone give me some guidance of how to fix it?
>
> Thanks in advance,
>
> Marcus Clyne.
>
> <config.log>