Some time ago, I wrote:
Russ Whitaker wrote:
Could you please post the complete error message (only one if they're all the same)?
edited output to one msg:
TEST abso1.pas: /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/libgpc.a(randfile.o): In function `do_seek': /usr/local/src/gcc-2.95.2/gcc/p/rts/randfile.c:327: the `llseek' function may be dangerous; use `lseek64' instead. OK
Thanks. I'll look into it. For a quick fix, you can try inserting the line:
#undef HAVE_LLSEEK
into rts/rts.h, after the line:
#include "rts-config.h"
This will disable 64 bit file access, until we can do this right.
I think I've now found out how to do this right, and I've incorporated the necessary changes into the current code base.
Could you (or anyone else) please check if it compiles now without the above work-around?
Note: To actually access files > 2GB on Linux on a 32 bit processor, you need glibc 2.1.3 and a fairly recent development kernel (like 2.3.99 or 2.4-pre), but the linker warnings should now be gone on all systems.
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html