OK, thanks Peter, they all compiled OK. But .... they all dump cores :(
grx-2.3.2/pascal> gpc -v Reading specs from /opt/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs gpc version 20000725, based on 2.95.2 19991024 (release)
grx-2.3.2/pascal> modetest Segmentation Fault (core dumped) grx-2.3.2/pascal> vir_test Segmentation Fault (core dumped) grx-2.3.2/pascal> blt_test Segmentation Fault (core dumped) grx-2.3.2/pascal> taste Segmentation Fault (core dumped) grx-2.3.2/pascal> txt_test Segmentation Fault (core dumped)
==
They were OK when I used an earlier version of gpc. gpc -v Reading specs from /opt/GCC2951/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/specs gpc version 19991030, based on 2.95.1 19990816 (release)
Any clue?
-----Original Message----- From: Peter Gerwinski [mailto:peter@gerwinski.de] Sent: Wednesday, July 26, 2000 3:41 PM To: 'gpc@gnu.de' Subject: Re: GRX and gpc
Mason Ip wrote:
grx-2.3.2/pascal% gpc -o blt_test blt_test.pas
--automake
(Or at least --autolink, if you have compiled `grx.pas' manually.)
((Or you can mention `grx.o' and `-lgrx' explicitly on the command line.))
Hope this helps,