Can Wine DLLs, EXEs be compiled for Windows?
Can Wine DLLs, EXEs be compiled for Windows?
Hello. When I unzip the source code, I see a "dlls" folder and a "programs" folder. Is there a way to compile these files for Windows?
-
- Level 4
- Posts: 144
- Joined: Mon Jun 02, 2008 5:03 pm
Re: Can Wine DLLs, EXEs be compiled for Windows?
Yes. For most of them, this is now the default if mingw is installed.
You can also configure Wine to use mingw for everything. I wasn't able to find any up to date information on how to do this, but I think you need to set the CC environment variable, as well as setting --host to the mingw prefix (for example i686-w64-mingw32) and --build to the prefix for system you're building on (for example x86_64-pc-linux-gnu).
There's no support for building ON Windows, it may be possible but it'd take more work.
You can also configure Wine to use mingw for everything. I wasn't able to find any up to date information on how to do this, but I think you need to set the CC environment variable, as well as setting --host to the mingw prefix (for example i686-w64-mingw32) and --build to the prefix for system you're building on (for example x86_64-pc-linux-gnu).
There's no support for building ON Windows, it may be possible but it'd take more work.