[Ecls-list] Problem in ECL init on IPhone

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Jan 30 18:22:16 UTC 2011


On Sun, Jan 30, 2011 at 9:15 AM, Matt Lamari <matt.lamari at gmail.com> wrote:

> I've built the
> https://github.com/kriyative/ecl-iphone-builder/tree/centaur
> centaur branch.  It's quite involved; but seems to work.
>

I just learned about the project from your email. I did not know it existed.
One thing you should notice is that it is for an older version of ECL, 10.4,
which may cause problems when used with more recent versions. Are you
following strictly the instructions in github?

Another thing is that I have committed in today 90% of the patches in
ecl-ios-patches.txt, but there are some that I feel unsure about and would
like the author to help in deciphering them (left a comment at his wall,
since I found no other form of contact). In particular, the only patches
left out are a manual editing of src/configure (no patches for aclocal.m4/
configure.in), and a file src/gmp/mpn/arm/invert_limb.asm which is not only
fixed but "upgraded" to version 3.0 of the LGPL, which I do not want to use
in ECL.

Out of the remaining information that is in your email, I can figure out
very little: it may be due to using some more recent version of ECL, it may
be a bug in the 10.4 that is not present now, ... In particular debug
information is wrong: the statement "x = cl_core.packages_to_be_created;" is
not causing init_lib_LSP to run, because it is a variable assignment --
seems that the compiler missed a few lines --.

Other than this, if it runs perfectly in the simulator and not in the iOS, I
suspect it may be due to some data corruption which is not obvious in the
former. Or does the compiler work differently in one of them? Does it
produce different code?

My recommended line of action in this case would be fix the github sources
to build with a more recent version of ECL (ideally CVS/git), then check it
in the simulator and then do a more detailed debug of the resulting binary
-- can it be done on the iPod touch too? I have one.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110130/dc1f6795/attachment.html>


More information about the ecl-devel mailing list