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:

> /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 ?

Well, nothing per se.  This turned out to be a slight case of "Not My
Glibc Installation".

I moved the offending `repaired' copy of stdio.h out of the way:

toon@super:/usr/local/gcc-ada/lib/gcc-lib/alpha-unknown-linux-gnu/3.1/incude
$ ls -l std* 
-rw-rw-r--    1 411      1002         4481 Dec 23 14:45 stdarg.h
-rw-rw-r--    1 411      1002         1612 Dec 23 14:45 stdbool.h
-rw-rw-r--    1 411      1002        11505 Dec 23 14:45 stddef.h
-rw-r--r--    1 411      1002        21691 Dec 23 14:33 stdio.h.opzij

and had a successful build of GCC (all languages except Chill), using
the following build line:

(PATH=/usr/local/gcc-ada/bin:$PATH export PATH; ../combined/configure
--prefix=/usr/snp --disable-nls && make bootstrap && make -k check)

Now the only thing I need is a good book about Ada :-)

-- 
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]