[Bug 41543] [patch] [request] easier wine/w23 support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 20 19:05:06 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=41543

--- Comment #5 from Jan Beich <jbeich at FreeBSD.org> ---
Would binmissctl(8) help? It's already used by poudriere + qemu-user-static to
run build tools as a kind of slow cross-compilation.

  $ chmod +x foo.exe

  $ ./foo.exe
  zsh: exec format error: ./foo.exe

  $ hd -n20 foo.exe
  00000000  4d 5a 90 00 03 00 00 00  04 00 00 00 ff ff 00 00 
|MZ..............|
  00000010  b8 00 00 00                                       |....|
  00000014

  $ binmiscctl add wine32 --interpreter /usr/local/bin32/wine \
     --magic
"\x4d\x5a\x90\x00\x03\x00\x00\x00\x04\x00\x00\x00\xff\xff\x00\x00\xb8\x00\x00\x00"
\
     --mask 
"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"
\
     --size 20 --set-enabled

  $ ./foo.exe
  fixme:winediag:start_process Wine Staging 1.9.4 is a testing version
containing experimental patches.
  fixme:winediag:start_process Please mention your exact version when filing
bug reports on winehq.org.
  fixme:ntdll:__syscall_NtCreateNamedPipeFile Message mode not supported,
falling back to byte mode.
  load: 0.16  cmd: wine 3685 [piperd] 7.64r 0.05u 0.10s 0% 11496k

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list