+ <sect2 id="hsc2hs_cross">
+ <title>Cross-compilation</title>
+
+ <para><command>hsc2hs</command> normally operates by creating, compiling,
+ and running a C program. That approach doesn't work when cross-compiling --
+ in this case, the C compiler's generates code for the target machine,
+ not the host machine. For this situation, there's
+ a special mode <command>hsc2hs --cross-compile</command> which can generate
+ the .hs by extracting information from compilations only -- specifically,
+ whether or not compilation fails.
+ </para>
+
+ <para>Only a subset of <literal>.hsc</literal> syntax is supported by
+ <literal>--cross-compile</literal>. The following are unsupported:
+ <itemizedlist>
+ <listitem><literal>#{const_str}</literal></listitem>
+ <listitem><literal>#{let}</literal></listitem>
+ <listitem><literal>#{def}</literal></listitem>
+ <listitem>Custom constructs</listitem>
+ </itemizedlist>
+ </para>
+ </sect2>
+