[Xcb] Native win32 port - working (i think :) )

Michael DOUBEZ michael.doubez at free.fr
Wed May 7 02:53:01 PDT 2008


Hello,

I have been working on such a port also with msys and mingw.

For the X header needed, I just grabbed them from
http://xorg.freedesktop.org/archive/X11R7.3/src/everything/.
I have installed in msys:
  - util-macros-1.1.5.tar.gz (for missing m4 defintions)
  - xproto-7.0.10.tar.gz
  - xtrans-1.0.4.tar.gz
  - xextproto-7.0.2.tar.gz
  - libXau-1.0.3.tar.gz

It is a bit tedious but everything work without problem except in xproto 
where I patched configure.ac in order to pass the fds_bits test.
On line 62 of configure.ac, I added:

case $host_os in
    mingw*) fds_bits_found=true
        fds_bits_found=plain
        USE_FDS_BITS="fds_bits"
        ;;
    *) ;;
esac


It only makes a difference in Xpoll.h were it is however not used 
(outside WIN32 defined code).


Michael



More information about the Xcb mailing list