summaryrefslogtreecommitdiff
path: root/README
blob: da4924a86776fb374d9ce6d71360deebf43c8e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
This is just a fiberized rand() test I put together for the WINE devs
after observing a difference in behavior vs. Win7.

The associated bug is:
https://bugs.winehq.org/show_bug.cgi?id=46273


To build you must first have checked out the submodules recursively:
`git submodule update --init --recursive`

Then steps using mingw to build the 32-bit windows exe in GNU/Linux:

./bootstrap
mkdir build
cd build
../configure --host=i686-w64-mingw32
make
file src/randtest.exe

To build a linux binary without mingw, omit the --host=i686-w64-mingw32.

To build a 64-bit windows exe, use --host=x86_64-w64-mingw32.

Just in caes, these are the mingw packages I have installed under debian 9.5:

ii  binutils-mingw-w64-i686                2.28-5+7.4+b4                                           amd64        Cross-binutils for Win32 (x86) using MinGW-w64
ii  binutils-mingw-w64-x86-64              2.28-5+7.4+b4                                           amd64        Cross-binutils for Win64 (x64) using MinGW-w64
ii  g++-mingw-w64                          6.3.0-14+19.3                                           all          GNU C++ compiler for MinGW-w64
ii  g++-mingw-w64-i686                     6.3.0-18+19.3+b3                                        amd64        GNU C++ compiler for MinGW-w64 targeting Win32
ii  g++-mingw-w64-x86-64                   6.3.0-18+19.3+b3                                        amd64        GNU C++ compiler for MinGW-w64 targeting Win64
ii  gcc-mingw-w64                          6.3.0-14+19.3                                           all          GNU C compiler for MinGW-w64
ii  gcc-mingw-w64-base                     6.3.0-18+19.3+b3                                        amd64        GNU Compiler Collection for MinGW-w64 (base package)
ii  gcc-mingw-w64-i686                     6.3.0-18+19.3+b3                                        amd64        GNU C compiler for MinGW-w64 targeting Win32
ii  gcc-mingw-w64-x86-64                   6.3.0-18+19.3+b3                                        amd64        GNU C compiler for MinGW-w64 targeting Win64
ii  mingw-w64                              5.0.1-1                                                 all          Development environment targeting 32- and 64-bit Windows
ii  mingw-w64-common                       5.0.1-1                                                 all          Common files for Mingw-w64
ii  mingw-w64-i686-dev                     5.0.1-1                                                 all          Development files for MinGW-w64 targeting Win32
ii  mingw-w64-tools                        5.0.1-1                                                 amd64        Development tools for 32- and 64-bit Windows
ii  mingw-w64-x86-64-dev                   5.0.1-1                                                 all          Development files for MinGW-w64 targeting Win64
© All Rights Reserved