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)?.