when in the build directory, after initial configure --enable-languages="c,ada" ..., % make CC="cc -no-cpp-precomp" is entered, a "test" command, repeated below, seems to fail with "too many arguments". It seems that in this case the ada directory is not created during further configuration triggered by make. Apparently this can be "fixed" by setenv ADAC to a driver named just "cc" (though it looks like Ada files will still be translated by CC, not ADAC) excerpt from gcc/gcc/configure, section "Find Ada Compiler": echo "configure:1849: checking for compiler driver that understands Ada" >&5 if eval "test \"`echo '$''{'gcc_cv_prog_adac'+set}'`\" = set"; then
On my machine (Mac OS X 10.2.6) where both gcc and cc understand Ada, configure produces an ada subdirectory with 3.4. Note there is a bug in gcc right now that Ada will not be able to bootstrap on powerpc-apple-darwin6.6 but that is filled under another PR, and I have a fix for that.
Had you been using CC="cc -no-cpp-precomp", i.e., two words? My cc for C and Ada are the same commands too, but the test command problem might be one of missing quotes in at least the second comparison of if test x$GNATBIND != xno && test x$ADAC != xno; then because if ADAC is set to $cand, where cand has been set to ${CC} (set as above), then + test xcc -no-cpp-precomp '!=' xno my-configure-test.sh: test: too many arguments from which results + have_gnat=no