I had difficulties compiling the pascal demo files under grx-2.3.2.
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% ls *pas blt_test.pas modetest.pas txt_test.pas grx20.pas taste.pas vir_test.pas
grx-2.3.2/pascal% gpc -o blt_test blt_test.pas /opt/gcc-2.95.2/lib/libgrx20X.a -lX11 Undefined first referenced symbol in file init_Grx20 /var/tmp/cc7kaWFm1.o ld: fatal: Symbol referencing errors. No output written to blt_test collect2: ld returned 1 exit status
grx-2.3.2/pascal% nm /opt/gcc-2.95.2/lib/libgrx20X.a | grep init_Grx20 <-- this return nothing!
Basically, non of {blt_test, modest, txt_test, taste, vir_test} were built. I believe that grx-2.3.2 is still not working with the latest gpc :(
From: Maurice Lombardi [Maurice.Lombardi@ujf-grenoble.fr] Sent: Wednesday, July 26, 2000 6:55 AM To: gpc Subject: GRX and gpc
Hi all,
I have uploaded to agnes slightly corrected versions of grx-2.3.2 ftp://agnes.dida.physik.uni-essen.de/home/maurice/grx-2.3.2.tar.gz for
unix
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,
Peter