mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Describe how to compile ejabberd on Mac OS X Snow Leopard with Erlang R13B-2
SVN Revision: 2636
This commit is contained in:
parent
4667cefb62
commit
e780126c9e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user