From: Neto, Antonio Jose Rodrigues Date: Fri, 1 Feb 2013 07:30:38 +0000 (+0100) Subject: README: how to compile fio on Windows 64 bits X-Git-Tag: fio-2.0.14~49 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=444310ffec05459692b685b2ea96e6ad2296436e README: how to compile fio on Windows 64 bits Signed-off-by: Jens Axboe --- diff --git a/README b/README index c43b795c..97f1a28a 100644 --- a/README +++ b/README @@ -114,6 +114,25 @@ build fio. To create an MSI installer package install WiX 3.6 from http://wix.sourceforge.net/releases/ and run dobuild.cmd from the os/windows directory. +How to compile FIO on Windows 64 bits + + 1. Install Cygwin - search for MinGW and install all MinGW packages. + 2. Download x86_64-w64-mingw32-gcc-4.7.2-release-win64_rubenvb.7z (http://sourceforge.net/projects/mingw-w64/files) - Select Toolchains targeting Win64 -> + Personal Builds -> rubenv -> gcc-4.7-release + 3. Unzip the directory mingw64 to c:\ (c:\mingw64) + 4. Add to PATH - c:\mingw64\bin + 5. Copy c:\mingw64\bin\mingw32-make to c:\mingw64\bin\make.exe + 6. Download pthreads-20100604.zip (http://sourceforge.net/projects/mingw-w64/files) - Select External binary packages (Win64 hosted) -> pthreads + 7. Unzip pthreads-20100604.zip + 8. Unzip pthreads-w64.zip + 9. Copy pthreadGC2-w64.dll to c:\mingw64\bin +10. Copy c:\mingw64\bin\pthreadGC2-w64.dll to c:\mingw64\bin\pthreadGC2.dll +11. Open Cygwin Terminal +12. Go to fio directory (source files) +13. make clean +14. ./configure +15. make + Command line ------------