gcc-build> ../gcc/configure --prefix=/opt/gnat/fsf checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-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... gnatbind checking for gnatmake... gnatmake checking whether compiler driver understands Ada... yes 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 the correct version of mpc.h... no checking for the correct version of the gmp/mpfr libraries... yes checking for version 0.10 of PPL... yes checking for correct version of CLooG... no The following languages will be built: c,c++,fortran,java,objc *** This configuration is not supported in the following subdirectories: target-libada gnattools (Any other directories should still work fine.) [...] Although 'configure' does detect gnatbind/gnatmake and finds that the compiler driver understands Ada, no Ada compiler is built. 'configure' should configure GCC for all buildable languages when the --enable-languages option is not given.
Ada is not a default language currently and has not been since 4.0.0.
> Ada is not a default language currently and has not been since 4.0.0. I find that counter-intuitive - how come all other languages are built, just Ada is not?
obj-c++ isn't built by default either. And in both cases it is intentional.
I think we finally should enable ada and obj-c++ by default if all requirements are met.
> I think we finally should enable ada and obj-c++ by default if all requirements > are met. Could you point me to the relevant discussion about these requirements? Thanks.
Requirements as in configure detects a host ada compiler.
Subject: Re: 'configure' checks for Ada compiler but does not build one On Wed, 19 Aug 2009, jakub at gcc dot gnu dot org wrote: > obj-c++ isn't built by default either. And in both cases it is intentional. It is only intentional for obj-c++. For ada the disabling was meant to be temporary until it worked with tree-ssa and there was no specific decision to keep it disabled after then.