summaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2009-09-27 14:30:01 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2009-09-27 14:30:01 +0000
commite780126c9ee6b01b07dd81ea17df2bf218679259 (patch)
tree6e41e84bf00488b3ee920b54e2693d37894bfbe2 /doc/guide.tex
parentdo not create hometree base when hometree not configured as plugin (diff)
Describe how to compile ejabberd on Mac OS X Snow Leopard with Erlang R13B-2
SVN Revision: 2636
Diffstat (limited to '')
-rw-r--r--doc/guide.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index 0b43fa13..aa385df3 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -380,6 +380,20 @@ Some options that you may be interested in modifying:
Disable the use of Erlang/OTP supervision for transient processes.
\end{description}
+\makesubsection{snowleopard}{Compiling ejabberd under Snow Leopard with Erlang R13B}
+\ind{install!snowleopard}
+
+Erl Interface, the library to link Erlang with C code, is compiled as
+32-bits code in Erlang R13B-2. Mac OS X Snow Leopard is a 64-bits
+system and will try compiling ejabberd C code in 64-bits as a default.
+
+To compile ejabberd on Mac OS X Snow Leopard with Erlang R13B-2, you
+need to force C code to be compiled with 32-bits. This is done with
+the following configure command:
+
+\begin{verbatim}
+CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 ./configure
+\end{verbatim}
\makesubsection{install}{Install}
\ind{install!install}