aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/WINDOWS.md
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-12-13 02:21:49 +0100
committerGavin Andresen <gavinandresen@gmail.com>2013-01-23 10:41:44 -0500
commit21f2ae7563c8892cbb634ece6911de38dc7dff7c (patch)
tree0cff518435e4494e2db9cdcbfca844ff850f181b /src/leveldb/WINDOWS.md
parent00abfccc5d726b64c69bfb5e3607e2b18d14d14e (diff)
downloadbitcoin-21f2ae7563c8892cbb634ece6911de38dc7dff7c.tar.xz
Native Windows LevelDB port
Import native Windows LevelDB port by Hiram Chirino. Extracted from from https://github.com/chirino/leveldb.git using git diff dd0d562..aea83b7
Diffstat (limited to 'src/leveldb/WINDOWS.md')
-rw-r--r--src/leveldb/WINDOWS.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/leveldb/WINDOWS.md b/src/leveldb/WINDOWS.md
new file mode 100644
index 0000000000..5b76c2448f
--- /dev/null
+++ b/src/leveldb/WINDOWS.md
@@ -0,0 +1,39 @@
+# Building LevelDB On Windows
+
+## Prereqs
+
+Install the [Windows Software Development Kit version 7.1](http://www.microsoft.com/downloads/dlx/en-us/listdetailsview.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b).
+
+Download and extract the [Snappy source distribution](http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz)
+
+1. Open the "Windows SDK 7.1 Command Prompt" :
+ Start Menu -> "Microsoft Windows SDK v7.1" > "Windows SDK 7.1 Command Prompt"
+2. Change the directory to the leveldb project
+
+## Building the Static lib
+
+* 32 bit Version
+
+ setenv /x86
+ msbuild.exe /p:Configuration=Release /p:Platform=Win32 /p:Snappy=..\snappy-1.0.5
+
+* 64 bit Version
+
+ setenv /x64
+ msbuild.exe /p:Configuration=Release /p:Platform=x64 /p:Snappy=..\snappy-1.0.5
+
+
+## Building and Running the Benchmark app
+
+* 32 bit Version
+
+ setenv /x86
+ msbuild.exe /p:Configuration=Benchmark /p:Platform=Win32 /p:Snappy=..\snappy-1.0.5
+ Benchmark\leveldb.exe
+
+* 64 bit Version
+
+ setenv /x64
+ msbuild.exe /p:Configuration=Benchmark /p:Platform=x64 /p:Snappy=..\snappy-1.0.5
+ x64\Benchmark\leveldb.exe
+