Describe how to compile ejabberd on Mac OS X Snow Leopard with Erlang R13B-2

SVN Revision: 2636
This commit is contained in:
Mickaël Rémond 2009-09-27 14:30:01 +00:00
parent 4667cefb62
commit e780126c9e
1 changed files with 14 additions and 0 deletions

View File

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