Waldek Hebisch wrote:
Frank Heckenbach wrote:
Waldek Hebisch wrote:
it seems that `configure' defined symbols _GNU_SOURCE _LARGEFILE64_SOURCE _FILE_OFFSET_BITS
and that those symbols are not defined during build.
They're defined in rts/rts.h which is included in rts/*.c, isn't it?
Right. I see were the problem is: Cygwin defines `timezone' as a function. Configure uses the following test:
#include "confdefs.h"
#define _GNU_SOURCE #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 #include <time.h> volatile long int tmp; int main() { tmp = timezone; ; return 0; }
Appearently, the test succeeds (only gives warning) if `timezone' is a function (maybe use '-timezone' in integer tests)?.
Have you tried it and does it work? If so, I'll change it. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707