Mason Ip wrote:
I had compiled gpc on Sparc Solaris 7 OK. But the crt.pas was not compiled.
I did that successfully also.
After installation, gpc (and gcc, etc) were installed OK. But there was no crt.gpm built from crt.pas.
GPC units are not compiled during built of GPC itself.
The following were what I got when trying to compile crt.pas manually.
/opt/GCC2952/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/units> gpc -O --automake crt.pas
automake is known as not working properly and I faced that a couple of times. I do not remember dependicies well, but I think you should try to compile gpc, system and crt.c (?) first, without -automake.
I have libncurses installed on my system (from sunfreeware). What did I miss for compiling crt.pas ?
I built the newest ncurses 5.0 and rx myself to compile crt unit. There is a package for Sparc Solaris 7 containing GPC with precompiled units at: http://math.uwb.edu.pl/download/solaris7/sparc/ ftp://mizar.uwb.edu.pl/pub/misc/solaris7/sparc/
Hope it helps
PS. If you are interested, I can send you my Makefile to compile all GPC units with make.