summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-12-11 12:28:01 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-12-11 12:28:01 -0800
commit85bff36426bc92d6b407bff7545f09138163ba2c (patch)
treeb2928acd2b401e50827e0e558d94249299e68b7c
parentcb3d1318f05ef8b1451aa9d0fbd0a6f1308e82b6 (diff)
docs: add README
-rw-r--r--README40
1 files changed, 40 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..da4924a
--- /dev/null
+++ b/README
@@ -0,0 +1,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
+
© 2021 All Rights Reserved