This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alpha-linux ada binaries


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]