Bug 41124 - 'configure' checks for Ada compiler but does not build one
Summary: 'configure' checks for Ada compiler but does not build one
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.5.0
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 18:46 UTC by Oliver Kellogg
Modified: 2009-08-19 21:02 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2009-08-19 19:40:24


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kellogg 2009-08-19 18:46:12 UTC
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.
Comment 1 Andrew Pinski 2009-08-19 18:47:22 UTC
Ada is not a default language currently and has not been since 4.0.0.
Comment 2 Oliver Kellogg 2009-08-19 18:54:02 UTC
> 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?
Comment 3 Jakub Jelinek 2009-08-19 19:05:13 UTC
obj-c++ isn't built by default either.  And in both cases it is intentional.
Comment 4 Richard Biener 2009-08-19 19:40:24 UTC
I think we finally should enable ada and obj-c++ by default if all requirements are met.
Comment 5 Oliver Kellogg 2009-08-19 20:42:35 UTC
> 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.
Comment 6 Richard Biener 2009-08-19 21:02:04 UTC
Requirements as in configure detects a host ada compiler.
Comment 7 jsm-csl@polyomino.org.uk 2009-08-19 23:58:13 UTC
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.