File:  [NetBSD Developer Wiki] / wikisrc / projects / project / wine_amd64.mdwn
Revision 1.8: download - view: text, annotated - select for diffs
Sun Aug 11 13:28:47 2019 UTC (4 years, 3 months ago) by maya
Branches: MAIN
CVS tags: HEAD
Third time's the charm: mark this project done

[[!template id=project

title="Port Wine to amd64"


done_by="Naveen Narayanan (GSoC 2019)"

The Wine program is made of two components, Wine32 and Wine64, that respectively
allow 32bit or 64bit Windows binaries to run on UNIX-like systems.

Until now, Wine32 could not work on NetBSD-amd64, because the USER_LDT option
was not available in the kernel.

This option was recently added, so Wine32 can now be ported to NetBSD-amd64.


 * Test a static Wine32 on amd64. That is, compile Wine32 statically on
   NetBSD-i386, and launch it on NetBSD-amd64 (which supports running native
   32bit binaries). See if it works, and if not, apply the necessary fixes.
   At this stage, old Windows video games should work.
 * Make a dynamic Wine32 work on amd64. Compile Wine32 on NetBSD-i386 in
   a non-static way, and launch it on NetBSD-amd64.
 * Make Wine32+Wine64 work on amd64. See the WineHQ wiki on how to achieve
   this. At this stage, 64bit Windows binaries that use 32bit libraries should
 * Package Wine32+Wine64 for pkgsrc.

Note that reaching the first step is already good.

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb