[Xcb] How supported is Windows/MinGW?
David Gerard
dgerard at gmail.com
Wed Dec 31 15:39:41 PST 2008
I'm trying to build xcb on MinGW. (A quixotic project to build libX11
and thence Wine. It's my holidays, it relaxes me.) See
http://wiki.winehq.org/WineOnWindows#head-5c33720da11a0bf4bf1d942e4b5864b9ce0cc7eb
I understand MinGW is a supported platform. At least ./configure gives
that impression. But I can't get it to compile. I tried using
pthreads.h from Pthreads Win32, and the make bombs out with:
make all-am
make[1]: Entering directory `/home/fun/libpthread-stubs-0.1'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I. -g -O2 -MT stubs.lo -MD -MP -MF ".deps/stubs.Tpo" -c -o
stubs.lo stubs.c; \
then mv -f ".deps/stubs.Tpo" ".deps/stubs.Plo"; else rm -f
".deps/stubs.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT stubs.lo -MD -MP -MF
.deps/stubs.Tpo -c stubs.c -DDLL_EXPORT -DPIC -o .libs/stubs.o
./pthread.h:935: warning: weak declaration of 'pthread_self' not supported
stubs.c:35: internal compiler error: in assemble_output_def, at varasm.c:4410
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make[1]: *** [stubs.lo] Error 1
make[1]: Leaving directory `/home/fun/libpthread-stubs-0.1'
make: *** [all] Error 2
What intuitively obvious thing have I missed?
- d.
More information about the Xcb
mailing list