LSEEK64/FTRUNCATE64 PROBLEM WITH GPC ON CYGWIN
Hello All! I'm trying to use gpc under cygwin and have a trouble when compiling/linking even a simple example such as: program test; begin writeln("Hello World") end. gpc test.pas returns the following message: /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18ef):rts.c: undef ined reference to `_ftruncate64' /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18b4):rts.c: undef ined reference to `_lseek64' collect2: ld returned 1 exit status I have the same message with examples from /usr/doc/gpc/demos. It's seems something is missing in the install for the linker. I'm using (just installed this week): gpc binary: gpc-20030830-with-gcc.i686-pc-cygwin.tar.gz from www.gnu-pascal.de and cygwin: ftp%3a%2f%2fftp.funet.fi%2fpub%2fmirrors%2fcygwin.com%2fpub%2fcygwin latest presently available said as 1.5.5-1 downloaded from ftp.funet.fi after setup.exe 2.415 got from cygwin.com "Install Cygwin now" If you have any idea or know any contact who could help please advice. Thanks for your help!
participants (3)
-
Gerrit P. Haase -
Pascal Pottier -
Prof A Olowofoyeku (The African Chief)