On Sat, Dec 12, 2009 at 9:01 AM, Ram Krishnan <span dir="ltr"><<a href="mailto:kriyative@gmail.com">kriyative@gmail.com</a>></span> wrote:<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
Hi Elliott,<br>
<br>
I started with Red Daly's work (which you referenced), cleaned up a few
dependencies, and got ECL running in both the simulator and device. You
can checkout a copy from github:<br>
<br>
<a href="http://github.com/kriyative/ecl-iphone-builder" target="_blank">http://github.com/kriyative/ecl-iphone-builder</a><br>
<br>
It's based on ecl-9.8.4, and requires a newer Boehm-GC (gc-7.2alpha2).<br>
<br>
I still have some changes to the UIKit ffi code, which I've not checked
in yet (mostly to do with Autorelease pools etc.). Other than that you
should be able to build, and connect to ECL via SLIME. Let me know if
you run into any issues.<br>
</div>

</blockquote></div><div><br></div><div>I cloned your repo and tried the instructions in the README, but the build still failed. For a while it looked like it was doing something, and it even loaded ECL and started compiling something, but after a while it ended with the following:</div>
<br><div>./configure --prefix=/Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device --host=arm-apple-darwin --target=arm-apple-darwin --disable-c99complex --disable-longdouble --disable-soname --disable-unicode --disable-shared --enable-threads --with-asdf=no --with-bytecmp=builtin --with-cmp=no --with-clx=no --with-defsystem=no --with-fpe=yes --with-profile=no --with-rt=no --with-serve-event=builtin --with-tcp=builtin --with-x=no</div>
<div>Switching to directory `build' to continue configuration.</div><div>configure: WARNING: If you wanted to set the --build type, don't use --host.</div><div>    If a cross compiler is detected then cross compile mode will be used.</div>
<div>checking build system type... pentium3-apple-darwin9.8.0</div><div>checking host system type... arm-apple-darwin</div><div>checking for arm-apple-darwin-gcc... /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2</div>
<div>checking for C compiler default output file name... a.out</div><div>checking whether the C compiler works... yes</div><div>checking whether we are cross compiling... yes</div><div>checking for suffix of executables... </div>
<div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div><div>checking whether /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 accepts -g... yes</div>
<div>checking for /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 option to accept ISO C89... none needed</div><div>checking for arm-apple-darwin-g++... no</div><div>checking for arm-apple-darwin-c++... no</div>
<div>checking for arm-apple-darwin-gpp... no</div><div>checking for arm-apple-darwin-aCC... no</div><div>checking for arm-apple-darwin-CC... no</div><div>checking for arm-apple-darwin-cxx... no</div><div>checking for arm-apple-darwin-cc++... no</div>
<div>checking for arm-apple-darwin-cl.exe... no</div><div>checking for arm-apple-darwin-FCC... no</div><div>checking for arm-apple-darwin-KCC... no</div><div>checking for arm-apple-darwin-RCC... no</div><div>checking for arm-apple-darwin-xlC_r... no</div>
<div>checking for arm-apple-darwin-xlC... no</div><div>checking for g++... g++</div><div>configure: WARNING: using cross tools not prefixed with host triplet</div><div>checking whether we are using the GNU C++ compiler... yes</div>
<div>checking whether g++ accepts -g... yes</div><div>checking how to run the C preprocessor... /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp</div><div>checking for arm-apple-darwin-ranlib... no</div><div>checking for ranlib... ranlib</div>
<div>checking for a BSD-compatible install... /usr/bin/install -c</div><div>checking whether ln -s works... yes</div><div>checking whether make sets $(MAKE)... yes</div><div>/Users/elliott/Programming/Lisp/ecl-iphone-builder/ecl-9.8.4/build/cross_config: line 25: syntax error near unexpected token `)'</div>
<div>/Users/elliott/Programming/Lisp/ecl-iphone-builder/ecl-9.8.4/build/cross_config: line 25: `)'</div><div>/Users/elliott/Programming/Lisp/ecl-iphone-builder/ecl-9.8.4/src/configure: line 4336: -eval: command not found</div>
<div>configure: error: The program ECL-MIN is not installed in your system</div><div>make: *** No targets specified and no makefile found.  Stop.</div><div>cp: build/*.a: No such file or directory</div><div>chmod: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/ecl*/dpp: No such file or directory</div>
<div>chmod: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/ecl*/ecl_min: No such file or directory</div><div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libbytecmp.a (No such file or directory)</div>
<div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libecl.a (No such file or directory)</div><div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libeclgc.a (No such file or directory)</div>
<div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libeclgmp.a (No such file or directory)</div><div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libserve-event.a (No such file or directory)</div>
<div>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/elliott/Programming/Lisp/ecl-iphone-builder/iphone/device/lib/libsockets.a (No such file or directory)</div><div><br></div>
<br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>