Hi. First, excuse me for my english ...
I used Pascal 10 years ago at school (in France) and I want to use it again now, that's why I just installed GPC on my Linux box: Slackware 8.0 with gcc 2.95.3
So I downloaded binaries gpc-20000727.i686-pc-linux-gnu.tar.gz and installed it. I used install-gpc-binary without any pb and add the line
GPC_EXEC_PREFIX /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/
in /etc/csh.login.
My problem is that when I go to the demos directory,
gpc -c hello.pas is OK
but gpc -c crtdemo.pas returns :
crtdemo.pas:32: module/unit interface `Crt' could not be imported
What's the problem? Is there something to do to declare path to find units ???
OK. I found another problem now. Typing
gpc --automake hello.pas returns :
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/libgpc.a(randfile.o): In function `do_seek': /home/elug/pascal-wochenende-20000729/gcc-2.95.2/gcc/p/rts/randfile.c:327: the `llseek' function may be dangerous; use `lseek64' instead.
but a.out is OK.
I tried to find what to do last 2 days in manual, but ....
Thanks.
Laurent PARISE.
-- Web: http://www.laurent-parise.com E-mail: laurent@laurent-parise.com