This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: alpha-linux ada binaries
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Richard Henderson <rth at twiddle dot net>, gcc at gcc dot gnu dot org
- Date: Mon, 24 Dec 2001 13:19:16 +0100
- Subject: Re: alpha-linux ada binaries
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20011223134440.A31778@twiddle.net> <3C265A63.85C23B40@moene.indiv.nluug.nl>
I wrote:
> Richard Henderson wrote:
>
> > To save someone else the pain of cross-compiling, I've put a tarball at
> >
> > ftp://ftp.twiddle.net/pub/rth/axp-ada-20011223.tar.bz2
> >
> > It was built to be unpacked under /usr/local. In theory a gcc installation
> > is position independent, but I doubt anyone's tested this with Ada.
> Thanks, I'm giving this a whirl ....
Hmmm, unfortunately, it doesn't "work for me" ;-)
I unpacked it into /usr/local/gcc-ada/.... Subsequently:
(CC=/usr/local/gcc-ada/bin/gcc export CC; ../gcc/configure
--prefix=/usr/snp --disable-nls && make bootstrap && make -k check)
It *does* find the Ada-capable gcc, but not gnatbind (!):
checking for gnatbind... no
checking for compiler driver that understands Ada...
/usr/local/gcc-ada/bin/gcc
and then:
/usr/local/gcc-ada/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I../../gcc/libiberty/../include -W -Wall -Wtraditional -pedantic
../../gcc/libiberty/choose-temp.c
In file included from ../../gcc/libiberty/choose-temp.c:24:
/usr/local/gcc-ada/lib/gcc-lib/alpha-unknown-linux-gnu/3.1/include/stdio.h:190:
parse error before "__attribute_malloc__"
/usr/local/gcc-ada/lib/gcc-lib/alpha-unknown-linux-gnu/3.1/include/stdio.h:190:
ISO C forbids data definition with no type or storage class
make[1]: *** [choose-temp.o] Error 1
What am I doing wrong ?
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)