public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/12903] New: configure fails to produce ada subdirectory
@ 2003-11-05 2:33 bauhaus at futureapps dot de
2003-11-05 3:50 ` [Bug other/12903] " pinskia at gcc dot gnu dot org
2003-11-05 11:45 ` bauhaus at futureapps dot de
0 siblings, 2 replies; 3+ messages in thread
From: bauhaus at futureapps dot de @ 2003-11-05 2:33 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12903
Summary: configure fails to produce ada subdirectory
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bauhaus at futureapps dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-apple-darwin6.6
GCC host triplet: powerpc-apple-darwin6.6
GCC target triplet: powerpc-apple-darwin6.6
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/12903] configure fails to produce ada subdirectory
2003-11-05 2:33 [Bug other/12903] New: configure fails to produce ada subdirectory bauhaus at futureapps dot de
@ 2003-11-05 3:50 ` pinskia at gcc dot gnu dot org
2003-11-05 11:45 ` bauhaus at futureapps dot de
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-05 3:50 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12903
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-05 03:50 -------
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug other/12903] configure fails to produce ada subdirectory
2003-11-05 2:33 [Bug other/12903] New: configure fails to produce ada subdirectory bauhaus at futureapps dot de
2003-11-05 3:50 ` [Bug other/12903] " pinskia at gcc dot gnu dot org
@ 2003-11-05 11:45 ` bauhaus at futureapps dot de
1 sibling, 0 replies; 3+ messages in thread
From: bauhaus at futureapps dot de @ 2003-11-05 11:45 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12903
------- Additional Comments From bauhaus at futureapps dot de 2003-11-05 11:45 -------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-05 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 2:33 [Bug other/12903] New: configure fails to produce ada subdirectory bauhaus at futureapps dot de
2003-11-05 3:50 ` [Bug other/12903] " pinskia at gcc dot gnu dot org
2003-11-05 11:45 ` bauhaus at futureapps dot de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).