I've downloaded the alpha gpc-980511 and attempted compilation (yes I did download and correctly install gcc 2.8.1 as required).
It seems that when I do "make LANGUAGES="pascal" " the installation is attempting to use bison even when it is not necessary. And it seems bison is doing something incorrect as the compilation ends with:
gcc -c -DIN_GCC -DGPC -DSVR4 -g -Wall -I. -I.. -I. -I./.. -I./../config ob jects.c gcc -c -DIN_GCC -DGPC -DSVR4 -g -Wall \ -I. -I.. -I. -I./.. -I./../config \ `echo ./parse.c | sed 's,^./,,'` parse.y: In function `yyparse': parse.y:2706: invalid lvalue in assignment parse.y:2738: invalid lvalue in assignment parse.y:5840: too many arguments to function `build_pascal_pointer_reference' parse.y:5842: too many arguments to function `build_pascal_pointer_reference' make[1]: *** [parse.o] Error 1 make[1]: Leaving directory `/export/home/local/src/GNU/gcc-2.8.1/p' make: *** [gpc1] Error 2
The version I have is bison-1.25.tar.gz - dated 1996. In the faq a reference is made that bison must be dated at least 1998 if used. But I cannot find a more up-to-date bison anywhere.
From where can it be obtained?
Otherwise it seems that the beta won't compile for me at least, under solaris 2.5.1/sparc.
Is there any way around this problem, so I can compile gpc as with version 2.0 (release) ?
Thanks in advance for any hints anyone might have,
Clyde Meli http://www.maltanetworkresources.com -- WWW directory/search engine for the Maltese web