Building Wine on amd64 FreeBSD?

Tijl Coosemans tijl at
Fri Jul 6 03:54:35 CDT 2012

On 05-07-2012 23:37, Hilko Bengen wrote:
> Following Marcus Meissner's advice how to build a WoW64 setup (thanks!),
> I have succeeded in building a set of co-installable i386/amd64 Debian
> packages. Those won't make it into the "wheezy" release as I was just a
> bit late for the freeze, but I have uploaded packages to experimental.
> What didn't work was building the 64-bits of wine on
> Debian/kfreebsd-amd64 (Debian userland including GNU libc on a FreeBSD
> kernel): <>
> Apparently the reason is that the uc_mcontext structure does not store
> the DS, ES, FS, and GS registers. After I made the changes below,
> everything compiled, but how useful is the result? Are those registers
> contained in uc_mcontext on "plain" FreeBSD?

They were added in FreeBSD 8:

More information about the wine-devel mailing list