<div class="gmail_quote">On Fri, Jan 21, 2011 at 10:11 PM, Shanmuhanathan Thiagaraja <span dir="ltr"><<a href="mailto:sthiagaraja@prshanmu.com">sthiagaraja@prshanmu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":vw">Is there an ECL port to android/ARM?<br>
If not is there someone working on it?<br>
I am planning to get started, but it seems a daunting task as I very<br>
little experience in porting.<br>
Is there any pointers/tips for porting to a new platform?<br>
I have searched the email archives/documentation/wiki.<br></div></blockquote></div><br>If your platform supports building Autoconf'ed software (./configure; make; make install) and it has a reasonably complete C/POSIX library, then your work will be constrained to one or more of the following steps:<div>
<br></div><div>- Verify that ECL finds and uses all the software features during configuration.</div><div>- Verify that the GMP library builds or use a prebuilt copy.</div><div>- Verify that the Boehm-Weiser library builds or use a prebuilt copy (ported to Android).</div>
<div>- Maybe adapt ECL to the toolchain (pass CC=compiler-name, CFLAGS=..., LDFLAGS=...)</div><div>- Perhaps adapt parts of the C code that use standard features which are not available (fenv.h, sockets, ... there are not that many)</div>
<div><br></div><div>With this you should get at least a "ecl_min" (bootstrap) executable running. This is more or less a guarantee that the ported software works. Bootstrapping (that is parsing the code and producing the remaining C files) should work like a charm.</div>
<div><br></div><div>Juanjo</div><div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>