Rebuild win32 library. Add comments to INSTALL/README

This commit is contained in:
Taro L. Saito 2011-08-02 15:27:43 +09:00
parent e01077db8a
commit de803e67a4
4 changed files with 8 additions and 4 deletions

View File

@ -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]

View File

@ -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

2
README
View File

@ -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/