From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f701425bdb1c198e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 28 May 2006 16:04:00 -0500 Date: Sun, 28 May 2006 17:00:29 -0400 From: Jeffrey Creem User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: trying to compile gnat References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <9kfpk3-c9t.ln1@newserver.thecreems.com> NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-1uW+ZWwwtQaG6BbK3BteK6Ua7wtTcuwoKMvhvmlZ/jcBqkEx/B8JScn/m24493vTT7HNUQNrYuSRdjQ!Pn8UmbtUkoa908c1u/v9PqtRRBUNJnGtcwIxcpHcKW9Nl6ATvg3Wk6Fx/F2AOjue5m7HfyqtMMNc!pMI= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:4570 Date: 2006-05-28T17:00:29-04:00 List-Id: Sch�le Daniel wrote: > Ok, this is where I am now > > I have those dirs and files > > build > gcc-4.1.1 > gcc-ada-4.1.1.tar.bz2 > gcc-core-4.1.1.tar.bz2 > gcc-g++-4.1.1.tar.bz2 > gcc-testsuite-4.1.1.tar.bz2 > > cd build > > ../gcc-4.1.1/configure --prefix=/pool/inst --enable-bootstrap > --enable-languages=c,c++,ada > creating cache ./config.cache > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking build 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 whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for gnatbind... gnatbind > 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 MPFR... yes > configure: error: > The following requested languages could not be built: ada > Recognised languages are: c,ada,c++,obj-c++,treelang > > ok, configure say no Ada installed > but the following works > > root@mond---[21:01:48]---/pool/software2/gcc/new/build # > gnatmake /pool/PROG/ada/1/main.adb > gnatgcc -c -I/pool/PROG/ada/1/ -I- /pool/PROG/ada/1/main.adb > gnatbind -x main.ali > gnatlink main.ali Looks like you are running one of those GNAT distributions where the compiler driver for gnat is gnatgcc instead of just plain old gcc. This has caused more problems with builds like this. perhaps you can do something with export CC=gnatgcc before the configure. The basic problem is that (I think) configure does not know how to find gnatgcc, it is looking for a gcc that knows Ada. What host OS is this?