Skip to content

Commit

Permalink
Added more info about 32 bit builds into README.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed May 8, 2013
1 parent 6a947b1 commit 71b4422
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------
Expand Down

0 comments on commit 71b4422

Please sign in to comment.