summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-05-08 09:48:38 +0200
committerantirez <antirez@gmail.com>2013-05-08 09:48:38 +0200
commit5885a34b671ed873f529dd9798d2b0904e3f5428 (patch)
tree0fba29cf26f3ecbba156d75a1d489a25ab23a967
parent5c9f6d4f55c321aa22a4a51f9046f762fbb1655d (diff)
downloadredis-5885a34b671ed873f529dd9798d2b0904e3f5428.tar.gz
Added more info about 32 bit builds into README.
-rw-r--r--README17
1 files changed, 14 insertions, 3 deletions
diff --git a/README b/README
index 51152342a..329eb1cb3 100644
--- a/README
+++ b/README
@@ -26,9 +26,20 @@ After building Redis is a good idea to test it, using:
% make test
-NOTE: if after building Redis with a 32 bit target you need to rebuild it
- with a 64 bit target you need to perform a "make clean" in the root
- directory of the Redis distribution.
+Fixing problems building 32 bit binaries
+---------
+
+If after building Redis with a 32 bit target you need to rebuild it
+with a 64 bit target, or the other way around, you need to perform a
+"make distclean" in the root directory of the Redis distribution.
+
+In case of build errors when trying to build a 32 bit binary of Redis, try
+the following steps:
+
+* Install the packages libc6-dev-i386 (also try g++-multilib).
+* Try using the following command line instead of "make 32bit":
+
+ make CFLAGS="-m32 -march=native" LDFLAGS="-m32"
Allocator
---------