Notes: Building the daemon on Windows
My aim is to get to the stage where we can start the daemon and run it under Wine. By using a dummy QEMU wrapper[1] we can have the daemon be run from a real Linux libguestfs program. It'll be running on the same machine (not in an appliance) and it'll be running under Wine, not Windows, but that's good enough to start testing the XDR protocol and some simple commands. It's very close to being able to do that now - there are only a few minor fixes left. If you want to try this, you will need the latest libguestfs sources from git, plus the three attached patches which hack out bits that I've not fixed yet. You'll need the basic Fedora MinGW cross-compiler packages installed, and the Fedora package "wine(x86-32)". You'll need to build and install PortableXDR: http://git.annexia.org/?p=fedora-mingw.git;a=tree;f=portablexdr;hb=HEAD Configure the toplevel of libguestfs source as if you were going to build it for Fedora. The go into the daemon subdirectory and reconfigure it for cross-compilation: cd daemon make distclean mingw32-configure make That will get you 99% of the way there. There are still some bits to hack out and/or fix in order to get a daemon. Rich. [1] http://libguestfs.org/guestfs.3.html#qemu_wrappers -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
participants (1)
-
Richard W.M. Jones