Hi All
There are binaries of GPC 1999/01/18 for Solaris 7 x86 in pkgadd format to download on:
http://math.uwb.edu.pl/download/solaris7/x86/gpc-2.0-19990118-Solaris7-x86.p...
Some changes to installation instruction and Makefile should be made in order to built GPC under Solaris (both Sparc and x86).
First of all Solaris patch utility requires the name of a file to be patched. So it is not possible to patch GCC sources. I patched GCC under Linux, then moved patched sources to Solaris box. There is a GNU patch wchich probably do the job, I haven't try it yet. I suggest to put a Solaris note in the installation instruction and warn that Solaris patch tool will not work.
Next problem I faced was "if ! [ ... ]" in Makefile. Does it work under Linux? What would it mean "if ! [ -f file-a ] || [ -f file-b ]"? Is it negation of the first test issue or whole alternative? It's not correct and should be changed to "if [ ! ... ]".
Build process itself went flawlesly. After make pascal.install some files are not installed at all. Make is not able to find install.sh for the following targets: pascal.install-units pascal.install-demos pascal.install-info I have no idea how to fix it but I belive you know.
Please do apply those fixes and make some guys out the Linux community happier. If all that have been already fixed in some newer alpha release I apologize for wasting your precious time.
Thanks for patience, best regards
PS. Is there anybody who needs GPC working under Sparc Solaris?