Move Windows port to MinGW
authorBruce Cran <bruce@cran.org.uk>
Mon, 20 Feb 2012 19:18:19 +0000 (20:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Feb 2012 19:18:19 +0000 (20:18 +0100)
commit93bcfd20e37cef8cec350fe06d3a086724c9f257
treefee8b2da5b190b0d4fd940f7cef5e58cd7faa113
parent16de1bf91ca80e62ce257a24cae471fab140bbe0
Move Windows port to MinGW

- Add calls to WSAStartup in the network code as required by
  Winsock.
- Add Windows-specific init_random_state function which uses the
  Crypto API.
- Move Windows port to MinGW and update build system to create a
  64-bit binary by default.
- Install text files as .rtf so they won't open in Notepad by default
  (Wordpad understands Unix line endings; Notepad doesn't).
- Simplify WiX installer code.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
47 files changed:
HOWTO
Makefile
README
client.c
diskutil.c
engines/mmap.c
engines/windowsaio.c
file.h
helpers.h
init.c
ioengine.h
os/os-aix.h
os/os-freebsd.h
os/os-hpux.h
os/os-linux.h
os/os-mac.h
os/os-netbsd.h
os/os-solaris.h
os/os-windows.h
os/os.h
os/windows/FIO.lnk [deleted file]
os/windows/cygwin.wxs [deleted file]
os/windows/dobuild.cmd [changed mode: 0755->0644]
os/windows/examples.wxs
os/windows/fio/FIO.bat [deleted file]
os/windows/harvest.cmd [deleted file]
os/windows/install.wxs
os/windows/posix/include/arpa/inet.h [new file with mode: 0644]
os/windows/posix/include/asm/types.h [new file with mode: 0644]
os/windows/posix/include/dirent.h [new file with mode: 0644]
os/windows/posix/include/dlfcn.h [new file with mode: 0644]
os/windows/posix/include/libgen.h [new file with mode: 0644]
os/windows/posix/include/netdb.h [new file with mode: 0644]
os/windows/posix/include/netinet/in.h [new file with mode: 0644]
os/windows/posix/include/poll.h [new file with mode: 0644]
os/windows/posix/include/semaphore.h [new file with mode: 0644]
os/windows/posix/include/sys/ipc.h [new file with mode: 0644]
os/windows/posix/include/sys/mman.h [new file with mode: 0644]
os/windows/posix/include/sys/poll.h [new file with mode: 0644]
os/windows/posix/include/sys/resource.h [new file with mode: 0644]
os/windows/posix/include/sys/shm.h [new file with mode: 0644]
os/windows/posix/include/sys/socket.h [new file with mode: 0644]
os/windows/posix/include/sys/uio.h [new file with mode: 0644]
os/windows/posix/include/sys/un.h [new file with mode: 0644]
os/windows/posix/include/sys/wait.h [new file with mode: 0644]
os/windows/posix/include/syslog.h [new file with mode: 0644]
server.c