Quick-and-dirty wrapper that tries to run 32-bit Windows command-line executables on Linux
Go to file
Simon Lindholm f11759cc71 mwcc 4.* 2022-06-29 17:34:38 +02:00
.gitignore "Better" LoadString stub, makefile 2022-06-29 00:29:29 +02:00
LICENSE first commit 2022-06-13 02:20:18 +02:00
Makefile Command line parsing 2022-06-29 01:29:26 +02:00
README.md "Better" LoadString stub, makefile 2022-06-29 00:29:29 +02:00
advapi32.cpp more 2022-06-29 01:07:04 +02:00
common.h mwcc 4.* 2022-06-29 17:34:38 +02:00
kernel32.cpp Support more mwcc versions 2022-06-29 16:57:11 +02:00
lmgr.cpp mwcc 4.* 2022-06-29 17:34:38 +02:00
loader.cpp resources 2022-06-29 13:19:45 +02:00
main.cpp mwcc 4.* 2022-06-29 17:34:38 +02:00
ole32.cpp mwcc 4.* 2022-06-29 17:34:38 +02:00
user32.cpp resources 2022-06-29 13:19:45 +02:00
version.cpp mwcc 4.* 2022-06-29 17:34:38 +02:00

README.md

WiBo

An experiment to try and write a minimal, low-fuss wrapper that can run really simple command-line 32-bit Windows binaries on Linux - with less faff and less dependencies than WINE.

Don't run this on any untrusted executables, I implore you. (Or probably just don't run it at all... :p)

make && ./wibo

If you need something like this project (but more mature), you might find taviso/loadlibrary more interesting.


Rough to-do list:

  • Implement more APIs
  • Do something intelligent with Windows HANDLEs
  • Pass the command line properly
  • Convert paths in environment variables (and the structure of PATH itself, maybe) to Windows format
  • Implement PE relocations rather than just failing unceremoniously
  • Make the PE loader work for DLLs as well in case we ever want to load some