Dan Kegel dank@kegel.com writes:
Is it indeed really that clean already? Or will Wine refuse to load a PE file that makes direct Linux system calls and imports no DLLs from /usr/lib/wine?
It will work, but Wine will still need to load ntdll because that's where the PE loader is. And you can't really separate the PE loader from the rest of ntdll since it needs to interface with memory management etc. You could write a separate PE loader but then it couldn't be used to load real Window apps.