Building Wine programs for Windows

Alexandre Julliard julliard at winehq.org
Wed Aug 10 09:50:43 CDT 2016


Ruslan Kabatsayev <b7.10110111 at gmail.com> writes:

> On Wed, Aug 10, 2016 at 4:39 PM, Alexandre Julliard <julliard at winehq.org> wrote:
>> Ruslan Kabatsayev <b7.10110111 at gmail.com> writes:
>>
>>> Hello all.
>>>
>>> Is there any supported way to build programs supplied with Wine, e.g.
>>> `dxdiag` or `regedit`, for native Windows? There seems to be a
>>> `crosstest` target, but it appears to only build tests, not all the
>>> programs and libraries.
>>
>> You can do a full cross-compilation build. Something like:
>>
>> configure --host=i686-w64-mingw32 --with-wine-tools=<native-build-dir>
> Thanks, this allows to build almost everything successfully, but I
> have 5 compilation errors from make -k. What am I missing here? For
> linux (to get the tools) the compilation succeeded completely. Here's
> the filtered console output of Win32 build:

You may need to pass something like PKG_CONFIG=false to configure,
though this should be handled automatically in recent Wine.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list