diff --git a/INSTALL b/INSTALL index c00de6d..ec4c544 100755 --- a/INSTALL +++ b/INSTALL @@ -1,6 +1,7 @@ [Installation note of snappy-java] -If your OS platform is one of the Windows/Linux/Mac OS X (32/64 bit Intel CPUs), the installation process described here is unnecessary. Simply put snappy-java-(version).jar to your Java classpath. If your OS is not in the above list, create your own snappy-java-(version).jar file as follows. +If your OS platform is one of the Windows/Linux/Mac OS X (32/64 bit Intel CPUs), the installation process described here is unnecessary. Simply put snappy-java-(version).jar to your Java classpath. If your OS is not listed above, create your own snappy-java-(version).jar file as follows. + = Required tools for building snappy-java = @@ -13,7 +14,7 @@ If your OS platform is one of the Windows/Linux/Mac OS X (32/64 bit Intel CPUs), [Windows (32/64-bit)] * GNU make -* And also tar, curl, cp, rm, grep commands are needed. (I use Cygwin for building snappy-java in Windows) +* And also tar, curl, cp, rm, grep commands are needed. (I use Cygwin and MinGW for building snappy-java in Windows) [Windows (32-bit only)] * Install MinGW http://www.mingw.org/ @@ -32,7 +33,7 @@ To build x86 (32bit) dll under 64-bit Windows, use "make win32" target. NOTICE: Do not use the Cygwin version of MinGW-w64. It fails to build assemblies for 64bit environment. [Linux (32/64-bit)] -* gcc-4.5.x or higher is necessary because snappy-java uses -static-libstdc++ option. +* gcc-4.5.x or higher is necessary because snappy-java uses -static-libstdc++ option. It is possible to use gcc-4.3.x but a dependency to libstdc++ remains in the generated jar file; That means if another version of libstdc++ is used, snappy-java might not work correctly. * You can build 32-bit native library with 64-bit Linux machine (do make linux32) [Mac] diff --git a/Makefile b/Makefile index 668ca8f..671d964 100644 --- a/Makefile +++ b/Makefile @@ -91,3 +91,6 @@ linux32: clean-native-linux32: $(MAKE) clean-native OS_NAME=Linux OS_ARCH=i386 + +clean-native-win32: + $(MAKE) clean-native OS_NAME=Windows OS_ARCH=x86 diff --git a/README b/README index aca21c9..a0ec236 100755 --- a/README +++ b/README @@ -16,7 +16,7 @@ The snappy-java is a Java port of the snappy http://code.google.com/p/snappy/, a * Snappy's main target is very high-speed compression/decompression with reasonable compression size. Although the compression ratio of snappy-java is modest and about the same as `LZF` (ranging 20%-100% according to the dataset), among the Java-based compressors in the benchmark snappy-java is as fast as the fastest for compression, and the decompression speed is 2x as fast to the others. == Download == -The current version 1.0.1-rc4 is available from here: +The current version 1.0.3 is available from here: * Release version: http://maven.xerial.org/repository/artifact/org/xerial/snappy/snappy-java * [Milestone] release plans * Snapshot version (the latest beta version): http://maven.xerial.org/repository/snapshot/org/xerial/snappy/snappy-java/ diff --git a/src/main/resources/org/xerial/snappy/native/Windows/x86/snappyjava.dll b/src/main/resources/org/xerial/snappy/native/Windows/x86/snappyjava.dll index 2ca759e..d10b0ed 100755 Binary files a/src/main/resources/org/xerial/snappy/native/Windows/x86/snappyjava.dll and b/src/main/resources/org/xerial/snappy/native/Windows/x86/snappyjava.dll differ