Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > f806c0f24240b25bde21a53f71766070 > files > 70

erlang-doc-R13B-04.6.fc13.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
body          {
  margin: 4em 4em 4em 4em;
  background: white;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}
code          { font-family: courier;font-weight: normal}
a:link         { color: blue; text-decoration: none }
a:active       { color: blue; text-decoration: none }
a:visited      { color: blue; text-decoration: none }
</style><title>
Cross Compiling Erlang/OTP
</title></head><body>
<h1>Cross Compiling Erlang/OTP</h1>

<p>This document describes how to cross compile Erlang/OTP. Note that the support
for cross compiling Erlang/OTP should be considered as experimental. As far as
we know, the R13B04 release should cross compile fine, but since we currently
have a very limited set of cross compilation environments to test with we
cannot be sure. The cross compile support will stay in an experimental state
until we get a lot more cross compilation environments to test with.</p>

<p>You are encouraged to read the whole document before attempting to cross
compile Erlang/OTP. Before reading this document you should read the
<a href="INSTALL.html" title="$ERL_TOP/INSTALL.md"><code>$ERL_TOP/INSTALL.md</code></a> document which describes building Erlang/OTP in
general. <code>$ERL_TOP</code> is the top directory in the source tree.</p>

<h2><code>otp_build</code> Versus <code>configure</code>/<code>make</code></h2>

<p>Building Erlang/OTP can be done either by using the <code>$ERL_TOP/otp_build</code>
script, or by invoking <code>$ERL_TOP/configure</code> and <code>make</code> directly. Building using
<code>otp_build</code> is easier since it involves fewer steps, but the <code>otp_build</code> build
procedure is not as flexible as the <code>configure</code>/<code>make</code> build procedure. Note
that <code>otp_build configure</code> will produce a default configuration that differs
from what <code>configure</code> will produce by default. For example, currently
<code>--disable-dynamic-ssl-lib</code> is added to the <code>configure</code> command line arguments
unless <code>--enable-dynamic-ssl-lib</code> has been explicitly passed. The binary
releases that we deliver are built using <code>otp_build</code>.  The defaults used by
<code>otp_build configure</code> may change at any time without prior notice.</p>

<h2>Cross Configuration</h2>

<p>The <code>$ERL_TOP/xcomp/erl-xcomp.conf.template</code> file contains all available cross
configuration variables and can be used as a template when creating a cross
compilation configuration. All cross configuration variables are also listed
at the end of this document. For examples of working cross configurations see
the <code>$ERL_TOP/xcomp/erl-xcomp-TileraMDE2.0-tilepro.conf</code> file and the
<code>$ERL_TOP/xcomp/erl-xcomp-x86_64-saf-linux-gnu.conf</code> file. If the default
behavior of a variable is satisfactory, the variable does not need to be set.
However, the <code>configure</code> script will issue a warning when a default value is
used. When a variable has been set, no warning will be issued.</p>

<p>A cross configuration file can be passed to <code>otp_build configure</code> using the
<code>--xcomp-conf</code> command line argument. Note that <code>configure</code> does not accept
this command line argument. When using the <code>configure</code> script directly, pass
the configuration variables as arguments to <code>configure</code> using a
<code>&lt;VARIABLE&gt;=&lt;VALUE&gt;</code> syntax. Variables can also be passed as environment
variables to <code>configure</code>. However, if you pass the configuration in the
environment, make sure to unset all of these environment variables before
invoking <code>make</code>; otherwise, the environment variables might set make variables
in some applications, or parts of some applications, and you may end up with
an erroneously configured build. </p>

<h2>What can be Cross Compiled?</h2>

<p>All Erlang/OTP applications except the <code>wx</code> application can be cross compiled.
The build of the <code>wx</code> driver will currently be automatically disabled when
cross compiling.</p>

<h2>Compatibility</h2>

<p>The build system, including cross compilation configuration variables used,
may be subject to non backward compatible changes without prior notice.
Current cross build system has been tested when cross compiling some Linux/GNU
systems, but has only been partly tested for more esoteric platforms. The
VxWorks example file is highly dependent on our environment and is here more
or less only for internal use.</p>

<h2>Patches</h2>

<p>Please submit any patches for cross compiling in a way consistent with this
system. All input is welcome as we have a very limited set of cross compiling
environments to test with. If a new configuration variable is needed, add it
to <code>$ERL_TOP/xcomp/erl-xcomp.conf.template</code>, and use it in <code>configure.in</code>.
Other files that might need to be updated are:</p>

<ul>
<li><code>$ERL_TOP/xcomp/erl-xcomp-vars.sh</code></li>
<li><code>$ERL_TOP/erl-build-tool-vars.sh</code></li>
<li><code>$ERL_TOP/erts/aclocal.m4</code></li>
<li><code>$ERL_TOP/xcomp/README.md</code></li>
<li><code>$ERL_TOP/xcomp/erl-xcomp-*.conf</code></li>
</ul>

<p>Note that this might be an incomplete list of files that need to be updated.</p>

<p>General information on how to submit patches can be found at:
  <a href="http://wiki.github.com/erlang/otp/submitting-patches">http://wiki.github.com/erlang/otp/submitting-patches</a></p>

<h2>Build and Install Procedure</h2>

<p>If you are building in Git you want to read the "Building in Git" section
of <a href="INSTALL.html" title="$ERL_TOP/INSTALL.md"><code>$ERL_TOP/INSTALL.md</code></a> before proceeding.</p>

<p>We will first go through the <code>configure</code>/<code>make</code> build procedure which people
probably are most familiar with.</p>

<h3>Building With <code>configure</code>/<code>make</code> Directly</h3>

<p>(1)</p>

<p>Change directory into the top directory of the Erlang/OTP source tree.</p>

<pre><code>$ cd $ERL_TOP
</code></pre>

<p>In order to compile Erlang code, a small Erlang bootstrap system has to be
built, or an Erlang/OTP system of the same release as the one being built
has to be provided in the <code>$PATH</code>. The Erlang/OTP for the target system will
be built using this Erlang system, together with the cross compilation tools
provided.</p>

<p>If you want to build the documentation out of the same source tree as you are
cross compiling in, you currently need a full Erlang/OTP system of the same
release as the one being built for the build machine. If this is the case,
build and install one for the build machine (or use one already built) and add
it to the <code>$PATH</code> before cross building, and building the documentation. See
<a href="INSTALL.html" title="$ERL_TOP/INSTALL.md"><code>$ERL_TOP/INSTALL.md</code></a> for information on building the documentation.</p>

<p>If you want to build using a compatible Erlang/OTP system in the <code>$PATH</code>,
jump to (3).</p>

<h4>Building a Bootstrap System</h4>

<p>(2)</p>

<pre><code>$ ./configure --enable-bootstrap-only
$ make
</code></pre>

<p>The <code>--enable-bootstrap-only</code> argument to <code>configure</code> isn't strictly necessary,
but will speed things up. It will only run <code>configure</code> in applications
necessary for the bootstrap, and will disable a lot of things not needed by
the bootstrap system. If you run <code>configure</code> without <code>--enable-boostrap-only</code>
you also have to run make as <code>make bootstrap</code>; otherwise, the whole system will
be built.</p>

<h4>Cross Building the System</h4>

<p>(3)</p>

<pre><code>$ ./configure --host=&lt;HOST&gt; --build=&lt;BUILD&gt; [Other Config Args]
$ make
</code></pre>

<p><code>&lt;HOST&gt;</code> is the host/target system that you build for. It does not have to be
a full <code>CPU-VENDOR-OS</code> triplet, but can be. The full <code>CPU-VENDOR-OS</code> triplet
will be created by executing <code>$ERL_TOP/erts/autoconf/config.sub &lt;HOST&gt;</code>. If
<code>config.sub</code> fails, you need to be more specific.</p>

<p><code>&lt;BUILD&gt;</code> should equal the <code>CPU-VENDOR-OS</code> triplet of the system that you
build on. If you execute <code>$ERL_TOP/erts/autoconf/config.guess</code>, it will in
most cases print the triplet you want to use for this.</p>

<p>Pass the cross compilation variables as command line arguments to <code>configure</code>
using a <code>&lt;VARIABLE&gt;=&lt;VALUE&gt;</code> syntax. Note that you can <em>not</em> pass a
configuration file using <code>--xcomp-conf=&lt;FILE&gt;</code> when you invoke <code>configure</code>
directly. The <code>--xcomp-conf=&lt;FILE&gt;</code> argument can only be passed to
<code>otp_build configure</code>.</p>

<p><code>make</code> will verify that the Erlang/OTP system used when building is of the
same release as the system being built, and will fail if this is not the case.
It is possible, however not recommended, to force the cross compilation even
though the wrong Erlang/OTP system is used. This by invoking <code>make</code> like this:
<code>make ERL_XCOMP_FORCE_DIFFERENT_OTP=yes</code>. Note that this build might fail,
silently produce suboptimal code, or silently produce erroneous code.</p>

<h4>Installing</h4>

<p>You can either install using the installation paths determined by <code>configure</code>
(4), or install manually using (5).</p>

<h5>Installing Using Paths Determined by <code>configure</code></h5>

<p>(4)</p>

<pre><code>$ make install DESTDIR=&lt;TEMPORARY_PREFIX&gt;
</code></pre>

<p><code>make install</code> will install at a location specified when doing <code>configure</code>.
<code>configure</code> arguments specifying where the installation should reside are for
example: <code>--prefix</code>, <code>--exec-prefix</code>, <code>--libdir</code>, <code>--bindir</code>, etc. By default
it will install under <code>/usr/local</code>. You typically do not want to install your
cross build under <code>/usr/local</code> on your build machine. Using <a href="http://www.gnu.org/prep/standards/html_node/DESTDIR.html" title="DESTDIR"><code>DESTDIR</code></a>
will cause the installation paths to be prefixed by <code>$DESTDIR</code>. This makes it
possible to install and package the installation on the build machine without
having to place the installation in the same directory on the build machine as
it should be executed from on the target machine.</p>

<p>When <code>make install</code> has finished, change directory into <code>$DESTDIR</code>, package
the system, move it to the target machine, and unpack it. Note that the
installation will only be working on the target machine at the location
determined by <code>configure</code>.</p>

<h5>Installing Manually</h5>

<p>(5)</p>

<pre><code>$ make release RELEASE_ROOT=&lt;RELEASE_DIR&gt;
</code></pre>

<p><code>make release</code> will copy what you have built for the target machine to
<code>&lt;RELEASE_DIR&gt;</code>. The <code>Install</code> script will not be run. The content of
<code>&lt;RELEASE_DIR&gt;</code> is what by default ends up in <code>/usr/local/lib/erlang</code>.</p>

<p>The <code>Install</code> script used when installing Erlang/OTP requires common Unix
tools such as <code>sed</code> to be present in your <code>$PATH</code>. If your target system
does not have such tools, you need to run the <code>Install</code> script on your
build machine before packaging Erlang/OTP. The <code>Install</code> script should
currently be invoked as follows in the directory where it resides
(the top directory):</p>

<pre><code>$ ./Install [-cross] [-minimal|-sasl] &lt;ERL_ROOT&gt;
</code></pre>

<p>where:</p>

<ul>
<li><code>-minimal</code> Creates an installation that starts up a minimal amount
of applications, i.e., only <code>kernel</code> and <code>stdlib</code> are started. The
minimal system is normally enough, and is what <code>make install</code> uses.</li>
<li><code>-sasl</code> Creates an installation that also starts up the <code>sasl</code>
application.</li>
<li><code>-cross</code> For cross compilation. Informs the install script that it
is run on the build machine.</li>
<li><code>&lt;ERL_ROOT&gt;</code> - The absolute path to the Erlang installation to use
at run time. This is often the same as the current working directory,
but does not have to be. It can follow any other path through the file
system to the same directory.</li>
</ul>

<p>If neither <code>-minimal</code>, nor <code>-sasl</code> is passed as argument you will be
prompted.</p>

<p>You can now either do:</p>

<p>(6)</p>

<ul>
<li><p>Decide where the installation should be located on the target machine,
run the <code>Install</code> script on the build machine, and package the installed
installation. The installation just need to be unpacked at the right
location on the target machine:</p>

<pre><code>$ cd &lt;RELEASE_DIR&gt;
$ ./Install -cross [-minimal|-sasl] &lt;ABSOLUTE_INSTALL_DIR_ON_TARGET&gt;
</code></pre></li>
</ul>

<p>or:</p>

<p>(7)</p>

<ul>
<li><p>Package the installation in <code>&lt;RELEASE_DIR&gt;</code>, place it wherever you want
on your target machine, and run the <code>Install</code> script on your target
machine:</p>

<pre><code>$ cd &lt;ABSOLUTE_INSTALL_DIR_ON_TARGET&gt;
$ ./Install [-minimal|-sasl] &lt;ABSOLUTE_INSTALL_DIR_ON_TARGET&gt;
</code></pre></li>
</ul>

<h3>Building With the <code>otp_build</code> Script</h3>

<p>(8)</p>

<pre><code>$ cd $ERL_TOP
</code></pre>

<p>(9)</p>

<pre><code>$ ./otp_build configure --xcomp-conf=&lt;FILE&gt; [Other Config Args]
</code></pre>

<p>alternatively:</p>

<pre><code>$ ./otp_build configure --host=&lt;HOST&gt; --build=&lt;BUILD&gt; [Other Config Args]
</code></pre>

<p>If you have your cross compilation configuration in a file, pass it using the
<code>--xcomp-conf=&lt;FILE&gt;</code> command line argument. If not, pass <code>--host=&lt;HOST&gt;</code>,
<code>--build=&lt;BUILD&gt;</code>, and the configuration variables using a <code>&lt;VARIABLE&gt;=&lt;VALUE&gt;</code>
syntax on the command line  (same as in (3)). Note that <code>&lt;HOST&gt;</code> and <code>&lt;BUILD&gt;</code>
have to be passed one way or the other; either by using <code>erl_xcomp_host=&lt;HOST&gt;</code>
and <code>erl_xcomp_build=&lt;BUILD&gt;</code> in the configuration file, or by using the
<code>--host=&lt;HOST&gt;</code>, and <code>--build=&lt;BUILD&gt;</code> command line arguments.</p>

<p><code>otp_build configure</code> will configure both for the boostrap system on the
build machine and the cross host system.</p>

<p>(10)</p>

<pre><code>$ ./otp_build boot -a
</code></pre>

<p><code>otp_build boot -a</code> will first build a bootstrap system for the build machine
and then do the cross build of the system.</p>

<p>(11)</p>

<pre><code>$ ./otp_build release -a &lt;RELEASE_DIR&gt;
</code></pre>

<p><code>otp_build release -a</code> will do the same as (5), and you will after this have
to do a manual install either by doing (6), or (7).</p>

<h2>Currently Used Configuration Variables</h2>

<p>Note that you cannot define arbitrary variables in a cross compilation
configuration file. Only the ones listed below will be guaranteed to be
visible throughout the whole execution of all <code>configure</code> scripts. Other
variables needs to be defined as arguments to <code>configure</code> or exported in
the environment.</p>

<h3>Variables for <code>otp_build</code> Only</h3>

<p>Variables in this section are only used, when configuring Erlang/OTP for
cross compilation using <code>$ERL_TOP/otp_build configure</code>.</p>

<p><em>NOTE</em>! These variables currently have <em>no</em> effect if you configure using
the <code>configure</code> script directly.</p>

<ul>
<li><p><code>erl_xcomp_build</code> - The build system used. This value will be passed as
<code>--build=$erl_xcomp_build</code> argument to the <code>configure</code> script. It does
not have to be a full <code>CPU-VENDOR-OS</code> triplet, but can be. The full
<code>CPU-VENDOR-OS</code> triplet will be created by
<code>$ERL_TOP/erts/autoconf/config.sub $erl_xcomp_build</code>. If set to <code>guess</code>,
the build system will be guessed using
<code>$ERL_TOP/erts/autoconf/config.guess</code>.</p></li>
<li><p><code>erl_xcomp_host</code> - Cross host/target system to build for. This value will
be passed as <code>--host=$erl_xcomp_host</code> argument to the <code>configure</code> script.
It does not have to be a full <code>CPU-VENDOR-OS</code> triplet, but can be. The
full <code>CPU-VENDOR-OS</code> triplet will be created by
<code>$ERL_TOP/erts/autoconf/config.sub $erl_xcomp_host</code>.</p></li>
<li><p><code>erl_xcomp_configure_flags</code> - Extra configure flags to pass to the
<code>configure</code> script.</p></li>
</ul>

<h3>Cross Compiler and Other Tools</h3>

<p>If the cross compilation tools are prefixed by <code>&lt;HOST&gt;-</code> you probably do
not need to set these variables (where <code>&lt;HOST&gt;</code> is what has been passed as
<code>--host=&lt;HOST&gt;</code> argument to <code>configure</code>).</p>

<p>All variables in this section can also be used when native compiling.</p>

<ul>
<li><p><code>CC</code> - C compiler.</p></li>
<li><p><code>CFLAGS</code> - C compiler flags.</p></li>
<li><p><code>STATIC_CFLAGS</code> - Static C compiler flags.</p></li>
<li><p><code>CFLAG_RUNTIME_LIBRARY_PATH</code> - This flag should set runtime library
search path for the shared libraries. Note that this actually is a
linker flag, but it needs to be passed via the compiler.</p></li>
<li><p><code>CPP</code> - C pre-processor.</p></li>
<li><p><code>CPPFLAGS</code> - C pre-processor flags.</p></li>
<li><p><code>CXX</code> - C++ compiler.</p></li>
<li><p><code>CXXFLAGS</code> - C++ compiler flags.</p></li>
<li><p><code>LD</code> - Linker.</p></li>
<li><p><code>LDFLAGS</code> - Linker flags.</p></li>
<li><p><code>LIBS</code> - Libraries.</p></li>
</ul>

<h4><em>D</em>ynamic <em>E</em>rlang <em>D</em>river Linking</h4>

<p><em>NOTE</em>! Either set all or none of the <code>DED_LD*</code> variables.</p>

<ul>
<li><p><code>DED_LD</code> - Linker for Dynamically loaded Erlang Drivers.</p></li>
<li><p><code>DED_LDFLAGS</code> - Linker flags to use with <code>DED_LD</code>.</p></li>
<li><p><code>DED_LD_FLAG_RUNTIME_LIBRARY_PATH</code> - This flag should set runtime library
search path for shared libraries when linking with <code>DED_LD</code>.</p></li>
</ul>

<h4>Large File Support</h4>

<p><em>NOTE</em>! Either set all or none of the <code>LFS_*</code> variables.</p>

<ul>
<li><p><code>LFS_CFLAGS</code> - Large file support C compiler flags.</p></li>
<li><p><code>LFS_LDFLAGS</code> - Large file support linker flags.</p></li>
<li><p><code>LFS_LIBS</code> - Large file support libraries.</p></li>
</ul>

<h4>Other Tools</h4>

<ul>
<li><p><code>RANLIB</code> - <code>ranlib</code> archive index tool.</p></li>
<li><p><code>AR</code> - <code>ar</code> archiving tool.</p></li>
<li><p><code>GETCONF</code> - <code>getconf</code> system configuration inspection tool. <code>getconf</code> is
currently used for finding out large file support flags to use, and
on Linux systems for finding out if we have an NPTL thread library or
not.</p></li>
</ul>

<h3>Cross System Root Locations</h3>

<ul>
<li><p><code>erl_xcomp_sysroot</code> - The absolute path to the system root of the cross
compilation environment. Currently, the <code>crypto</code>, <code>odbc</code>, <code>ssh</code> and
<code>ssl</code> applications need the system root. These applications will be
skipped if the system root has not been set. The system root might be
needed for other things too. If this is the case and the system root
has not been set, <code>configure</code> will fail and request you to set it.</p></li>
<li><p><code>erl_xcomp_isysroot</code> - The absolute path to the system root for includes
of the cross compilation environment. If not set, this value defaults
to <code>$erl_xcomp_sysroot</code>, i.e., only set this value if the include system
root path is not the same as the system root path.</p></li>
</ul>

<h3>Optional Feature, and Bug Tests</h3>

<p>These tests cannot (always) be done automatically when cross compiling. You
usually do not need to set these variables. Only set these if you really
know what you are doing.</p>

<p>Note that some of these values will override results of tests performed
by <code>configure</code>, and some will not be used until <code>configure</code> is sure that
it cannot figure the result out.</p>

<p>The <code>configure</code> script will issue a warning when a default value is used.
When a variable has been set, no warning will be issued.</p>

<ul>
<li><p><code>erl_xcomp_after_morecore_hook</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>,
the target system must have a working <code>__after_morecore_hook</code> that can be
used for tracking used <code>malloc()</code> implementations core memory usage.
This is currently only used by unsupported features.</p></li>
<li><p><code>erl_xcomp_bigendian</code> - <code>yes|no</code>. No default. If <code>yes</code>, the target system
must be big endian. If <code>no</code>, little endian. This can often be
automatically detected, but not always. If not automatically detected,
<code>configure</code> will fail unless this variable is set. Since no default
value is used, <code>configure</code> will try to figure this out automatically.</p></li>
<li><p><code>erl_xcomp_clock_gettime_cpu_time</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>,
the target system must have a working <code>clock_gettime()</code> implementation
that can be used for retrieving process CPU time.</p></li>
<li><p><code>erl_xcomp_getaddrinfo</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>, the target
system must have a working <code>getaddrinfo()</code> implementation that can
handle both IPv4 and IPv6.</p></li>
<li><p><code>erl_xcomp_gethrvtime_procfs_ioctl</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>,
the target system must have a working <code>gethrvtime()</code> implementation and
is used with procfs <code>ioctl()</code>.</p></li>
<li><p><code>erl_xcomp_dlsym_brk_wrappers</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>, the
target system must have a working <code>dlsym(RTLD_NEXT, &lt;S&gt;)</code> implementation
that can be used on <code>brk</code> and <code>sbrk</code> symbols used by the <code>malloc()</code>
implementation in use, and by this track the <code>malloc()</code> implementations
core memory usage. This is currently only used by unsupported features.</p></li>
<li><p><code>erl_xcomp_kqueue</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>, the target
system must have a working <code>kqueue()</code> implementation that returns a file
descriptor which can be used by <code>poll()</code> and/or <code>select()</code>. If <code>no</code> and
the target system has not got <code>epoll()</code> or <code>/dev/poll</code>, the kernel-poll
feature will be disabled.</p></li>
<li><p><code>erl_xcomp_linux_clock_gettime_correction</code> - <code>yes|no</code>. Defaults to <code>yes</code> on
Linux; otherwise, <code>no</code>. If <code>yes</code>, <code>clock_gettime(CLOCK_MONOTONIC, _)</code> on
the target system must work. This variable is recommended to be set to
<code>no</code> on Linux systems with kernel versions less than 2.6.</p></li>
<li><p><code>erl_xcomp_linux_nptl</code> - <code>yes|no</code>. Defaults to <code>yes</code> on Linux; otherwise,
<code>no</code>. If <code>yes</code>, the target system must have NPTL (Native POSIX Thread
Library). Older Linux systems have LinuxThreads instead of NPTL (Linux
kernel versions typically less than 2.6).</p></li>
<li><p><code>erl_xcomp_linux_usable_sigaltstack</code> - <code>yes|no</code>. Defaults to <code>yes</code> on Linux;
otherwise, <code>no</code>. If <code>yes</code>, <code>sigaltstack()</code> must be usable on the target
system. <code>sigaltstack()</code> on Linux kernel versions less than 2.4 are
broken.</p></li>
<li><p><code>erl_xcomp_linux_usable_sigusrx</code> - <code>yes|no</code>. Defaults to <code>yes</code>. If <code>yes</code>,
the <code>SIGUSR1</code> and <code>SIGUSR2</code> signals must be usable by the ERTS. Old
LinuxThreads thread libraries (Linux kernel versions typically less than
2.2) used these signals and made them unusable by the ERTS.</p></li>
<li><p><code>erl_xcomp_poll</code> - <code>yes|no</code>. Defaults to <code>no</code> on Darwin/MacOSX; otherwise,
<code>yes</code>. If <code>yes</code>, the target system must have a working <code>poll()</code>
implementation that also can handle devices. If <code>no</code>, <code>select()</code> will be
used instead of <code>poll()</code>.</p></li>
<li><p><code>erl_xcomp_putenv_copy</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>, the target
system must have a <code>putenv()</code> implementation that stores a copy of the
key/value pair.</p></li>
<li><p><code>erl_xcomp_reliable_fpe</code> - <code>yes|no</code>. Defaults to <code>no</code>. If <code>yes</code>, the target
system must have reliable floating point exceptions.</p></li>
</ul>

<h2>Copyright and License</h2>

<blockquote>
  <p>%CopyrightBegin%</p>
  
  <p>Copyright Ericsson AB 2009-2010. All Rights Reserved.</p>
  
  <p>The contents of this file are subject to the Erlang Public License,
  Version 1.1, (the "License"); you may not use this file except in
  compliance with the License. You should have received a copy of the
  Erlang Public License along with this software. If not, it can be
  retrieved online at http://www.erlang.org/.</p>
  
  <p>Software distributed under the License is distributed on an "AS IS"
  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
  the License for the specific language governing rights and limitations
  under the License.</p>
  
  <p>%CopyrightEnd%</p>
</blockquote>
</body></html>