Building on Windows works with MinGW. I can't speak for Cygwin.


On Thu, Jun 6, 2013 at 3:18 AM, Nick Levine <ndl@ravenbrook.com> wrote:
I've had this failure on 2 different machines: Win7 with up-to-date
Cygwin, and XP with Cygwin a couple of years old.

pthreads_win32.h says:

    #ifndef _SIGSET_T
    typedef int sigset_t;
    #endif

types.h says:

    #ifndef _SIGSET_T_
    #define     _SIGSET_T_
    typedef int _sigset_t;

Is it supposed to be possible to build on Windows or is magick
required?

Thanks.

- nick


//entering make-target-1.sh
//building runtime system and symbol table file
make: Entering directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime'
rm -f *.[do] sbcl.exe sbcl.nm sbcl.h core *.tmp
make: Leaving directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime'
make: Entering directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime'
echo '#include "genesis/config.h"' >sbcl.h
echo '#include "genesis/constants.h"' >>sbcl.h
make: Leaving directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime'
make: Entering directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime'
gcc -g -Wall -O3  -fno-omit-frame-pointer -march=i686 -DWINVER=0x0501  -D__W32API_USE_DLLIMPORT__ -mno-cygwin -I. -DSBCL_PREFIX=\"'C:\Program Files (x86)/sbcl'\"  -c -o alloc.o alloc.c
In file included from runtime.h:19,
                 from alloc.c:21:
pthreads_win32.h:9: error: redefinition of typedef 'sigset_t'
/usr/i686-pc-mingw32/sys-root/mingw/include/sys/types.h:109: error: previous declaration of 'sigset_t' was here
pthreads_win32.h:338: warning: alignment of 'DEAD_MUTEX' is greater than maximum object file alignment.  Using 16
<builtin>: recipe for target `alloc.o' failed
make: *** [alloc.o] Error 1
make: Leaving directory `/cygdrive/c/Users/nick/lisp/sbcl/src/runtime'

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Sbcl-devel mailing list
Sbcl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel



--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay