Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e3d62627d1d1aab7ab1be2dd7f65a872 > files > 316

ecl-10.4.1-1.fc14.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter&#160;5.&#160;Porting ECL</title><link rel="stylesheet" href="ecl.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The ECL manual"><link rel="up" href="pt03.html" title="Part&#160;III.&#160;Internals"><link rel="prev" href="ch27s05.html" title="4.5.&#160;Inspecting generated C code"><link rel="next" href="pt04.html" title="Part&#160;IV.&#160;UFFI Reference"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&#160;5.&#160;Porting <span class="application">ECL</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch27s05.html">Prev</a>&#160;</td><th width="60%" align="center">Part&#160;III.&#160;Internals</th><td width="20%" align="right">&#160;<a accesskey="n" href="pt04.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter&#160;5.&#160;Porting ECL"><div class="titlepage"><div><div><h2 class="title"><a name="Porting-ECL"></a>Chapter&#160;5.&#160;Porting <span class="application">ECL</span></h2></div></div></div><p>To port <span class="application">ECL</span> to a new architecture, the following steps are required:</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Ensure that the GNU Multiprecision library supports this machine.</p></li><li class="listitem"><p>Ensure that the Boehm-Weiser garbage collector is supported by that
   architecture. Alternatively, port ECL's own garbage collector
   <code class="filename">src/c/alloc.d</code> and <code class="filename">src/c/gbc.d</code> to
   that platform.</p></li><li class="listitem"><p>Fix <code class="filename">src/aclocal.in</code>,
   <code class="filename">src/h/config.h.in</code> and
   <code class="filename">src/h/ecl.h</code> so that they supply flags for the new
   host machine.</p></li><li class="listitem"><p>Fix the machine dependent code in <code class="filename">src/c/</code>. The
   most critical parts are in the <code class="filename">unix*.d</code> and
   <code class="filename">thread*.d</code> files.</p></li><li class="listitem"><p>Compile as in any other platform.</p></li><li class="listitem"><p>Run the tests and compare to the results of other platforms.</p></li></ol></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch27s05.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="pt03.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="pt04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.5.&#160;Inspecting generated C code&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Part&#160;IV.&#160;UFFI Reference</td></tr></table></div></body></html>