laurent@laurent-parise.com wrote:
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 ???
Well, use `--automake' as you did below.
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 ....
A bug that was fixed last year. The binary you have was built before it was fixed. I don't know if anyone has uploaded a more recent binary somewhere, but onder Linux it's easy to build GPC from sources.
Apart from this, it's only a warning, and harmless as long as you don't use files > 2GB.
Frank