Re: Building guile on MSYS/MinGW - issue with pthread use

2009-08-15 Thread Gareth Edwards
Hi Neil 2009/8/14 Neil Jerram : > > threads.c includes config.h - which defines HAVE_STRUCT_TIMESPEC - > then _scm.h - which undefines it - and then later pthread.h, so it > should be fine. Hmm. I can see that in my codebase, but the struct is not showing up in the thread.i intermediate file for

Re: Building guile on MSYS/MinGW - issue with pthread use

2009-08-14 Thread Neil Jerram
Gareth Edwards writes: > pthread.h defines timespec like this: > > #ifndef HAVE_STRUCT_TIMESPEC > #define HAVE_STRUCT_TIMESPEC 1 > struct timespec { > long tv_sec; > long tv_nsec; > }; > #endif /* HAVE_STRUCT_TIMESPEC */ > > So, presumably, configure tests for timespec, it doesn't

Building guile on MSYS/MinGW - issue with pthread use

2009-08-14 Thread Gareth Edwards
Hi there, I've run into a problem building guile using the MinGW toolchain under MSYS. gar...@xdcnb048 /c/gareth/geda/deps/guile-1.8.7/libguile $ gcc -DHAVE_CONFIG_H -I.. -I/usr/local/include -g -O2 -Wall -Wmissing-prototyp es -Werror -MT libguile_la-threads.lo -MD -MP -MF .deps/libguile_la-threa