I have gone back to basics and tried simple.p [ program test(input,output); begin writeln("hello world"); end. ]
I am getting the same error messages: /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18ef):rts.c: undefined reference to `_ftruncate64' /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18b4):rts.c: undefined reference to `_lseek64' collect2: ld returned 1 exit status
This is the same error message that I got from my Pascal calls C program. There is clearly something not right with my binary distribution. I will try and do a reinstallation and then run the test suite.
gpc -v gives: Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/specs Configured with: ../configure --enable-languages=pascal --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --enable-shared --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr Thread model: posix gpc version 20030830, based on gcc-3.2.3
Best regards, Chris
Dr Christian Hicks Senior Lecturer, School of Mechanical & Systems Engineering, Stephenson Building, University of Newcastle upon Tyne, NE1 7RU. Phone: +44 191 222 6238 Mobile 0795 8317804 Fax: + 44 191 222 8600 Homepage: http://www.staff.ncl.ac.uk/chris.hicks