From: Mike G.
Subject: CLISP on ARM?
Date: 
Message-ID: <8b0a71fd-8ad2-41fa-bfb6-be2675388835@m44g2000hsc.googlegroups.com>
Hey,

Can someone confirm that CLISP works A-OK on the ARM processor (NetBSD/
arm perhaps?). I have a jailbroken iPod Touch (Darwin/arm), and a
functioning cross-compiler. I'm putting together some basic libraries
now, in preparation of compiling CLISP for it.

But I notice that the top google link for "clisp arm" notes that CLISP
fails to build on Linux/arm, so I was just wondering what the deal it.
I don't want to put out a lot of effort for this only to find a bug in
the bowels of CLISP that bites me.

-M

From: Matthias Benkard
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <292e10bb-9b16-45e4-9b86-84fce0874532@2g2000hsn.googlegroups.com>
Hi,

I don't know about recent releases, but I remember using a CLISP-based
GNU Maxima on my Zaurus (OpenZaurus/Linux/ARM) long ago.

Sorry I can't be of more help.

~ Matthias
From: Mike G.
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <1d9905a7-aa49-4db5-a232-235dfbb74f7a@y21g2000hsf.googlegroups.com>
On Apr 3, 5:29 pm, Matthias Benkard <··········@gmail.com> wrote:
> Hi,
>
> I don't know about recent releases, but I remember using a CLISP-based
> GNU Maxima on my Zaurus (OpenZaurus/Linux/ARM) long ago.
>
> Sorry I can't be of more help.
>
> ~ Matthias

Hmm. I had a Zaurus for a short time. Wish I had known about CLISP for
it. I remember doing a bit with mzscheme.

-M
From: Dimiter "malkia" Stanev
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <65lg4iF2flm4rU1@mid.individual.net>
That would be nice! I've got Cydia on my iPod Touch, and was expecting 
to find GCL, ECL or CLIPS - but non whatsover.


---------

But I do have on my phone - an HTC Universal (Windows Mobile 5 ARM 
device) gcl running with maxima (thanks the Reiner Keuchel)

http://www.rainer-keuchel.de/wince/maxima-ce.html

These threads might be useful to you:

http://groups.google.com/group/comp.lang.scheme/browse_thread/thread/4ee6ec93e0aefbad/0cde2c56416b9773

I've unpacked this whole thing on my HTC and I've got GCL working on it. 
(Saw that posted by John Thingstad)

http://www.ece.purdue.edu/~qobi/software/sdmmc.tgz
From: Juanjo
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <7e89d1a6-ebc9-4f9b-a36c-67a70b307725@n1g2000prb.googlegroups.com>
On Apr 4, 3:55 am, "Dimiter \"malkia\" Stanev" <······@gmail.com>
wrote:
> That would be nice! I've got Cydia on my iPod Touch, and was expecting
> to find GCL,ECLor CLIPS - but non whatsover.

Maybe ECL is not distributed with your operating system, but it has
been built regularly for linux/arm by various users

http://sourceforge.net/mailarchive/message.php?msg_name=20071231170039.GA8545%40fp-desktop.fr.evistel.com

Juanjo
From: malkia
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <nemoSun040608102818@news.individual.net>
In article
<····································@n1g2000prb.googlegroups.com>Juanj
o <·····················@googlemail.com> wrote:
>  On Apr 4, 3:55 am, "Dimiter \"malkia\" Stanev" <······@gmail.com>
>  wrote:
>>   That would be nice! I've got Cydia on my iPod Touch, and was
>> expecting to find GCL,ECLor CLIPS - but non whatsover.

>  Maybe ECL is not distributed with your operating system, but it
> hasbeen built regularly for linux/arm by various users


> http://sourceforge.net/mailarchive/message.php?msg_name=20071231170039
>  .GA8545%40fp-desktop.fr.evistel.com

>  Juanjo

Hi Juanjo,

Do you know how one can cross-compile ECL? Say I would like to compile
most parts of it using MSVC or XCODE, and then the rest compiled using
the ARM MSVC (WM5) or iPhone Target for the XCODE?

I'm interrested in both, and I'm really interrested in getting ECL to
work.

Also is there a way to make one way big static executable, and still
have ASDF to work? - instead of being split on DLLs/SOs?

Too bad ECL is GPL. I would love if it works for me to get a normal
license out of it (something like LZO - it's GPL, but there is
commercial license too...)

Thanks,
Dimiter "malkia" Stanev.

-- 
I'm using an evaluation license of nemo since 73 days.
You should really try it!
http://www.malcom-mac.com/nemo
From: Juanjo
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <3bcd4ae2-f9d0-405f-bb95-df74c13e5204@24g2000hsh.googlegroups.com>
On Apr 7, 2:32 am, malkia <······@gmail.com> wrote:
> Too bad ECL is GPL. I would love if it works for me to get a normal
> license out of it (something like LZO - it's GPL, but there is
> commercial license too...)

Hi Dimiter, you already got an answer to this, so I will focus on the
other questions.

> Do you know how one can cross-compile ECL? Say I would like to compile
> most parts of it using MSVC or XCODE, and then the rest compiled using
> the ARM MSVC (WM5) or iPhone Target for the XCODE?

People have built ECL in ARM itself, but it can be cross-compiled. The
process is not completely painless because for several years I myself
have had no need to update it, but it basically consists on passing
the usual Autoconf parameters (--build/--host) on a first pass to
obtain a configuration file. This file has to be edited to match your
needs. After that you reconfigure and build

http://sourceforge.net/mailarchive/message.php?msg_id=200307231513.13807.worm%40arrakis.es

> I'm interrested in both, and I'm really interrested in getting ECL to
> work.

Help is really welcome.

> Also is there a way to make one way big static executable, and still
> have ASDF to work? - instead of being split on DLLs/SOs?

ECL is shipped with its own port of ASDF which allows you to build
executables straight out of a bunch of ASDF files. I mean, you just
specify the name of the ASDF that describes your program and it is
built. It cannot be simpler :-)

(require 'asdf)
(asdf:make-build 'my-asdf-name :type :program)

With similar tools you can build a single FASL file that contains all
libraries you normally use

(asdf:make-build 'my-asdf-name :type :fasl :monolithic t)

Or build one FASL file for a given module

(asdf:make-build 'my-asdf-name :type :fasl :monolithic nil)

Or a static library for some code you want to ship

(asdf:make-build 'my-asdf-name :type :lib :monolithic t)

The original version of this linking facility was implemented by
Michael Goffioul. I have just adapted the same idea using other tools
in ASDF. Hopefully the new version should be more stable and work
better when there are complex dependencies. Help is welcome on testing
and improving this feature.

Juanjo
From: Juanjo
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <9cd50de3-ca03-44a0-bd1a-eea286f3fb16@2g2000hsn.googlegroups.com>
On Apr 7, 2:33 pm, Juanjo <·····················@googlemail.com>
wrote:
> It cannot be simpler :-)
>
> (require 'asdf)
> (asdf:make-build 'my-asdf-name :type :program)

Just in case somebody is curious about how this works, we are not
changing ASDF much, just using it to gather information about how
libraries are built. And MAKE-BUILD is just a convenience function
that creates our magical ASDF:BUNDLE-OP

(defun make-build (&rest args)
  (apply #'operate 'bundle-op args))

http://common-lisp.net/cgi-bin/viewcvs.cgi/ecl/contrib/asdf/?root=ecl
From: Dimiter "malkia" Stanev
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <66a41bF2jlvs1U1@mid.individual.net>
Thanks for all the information Juanjo!

There is also tons of good info on the sf.net site, where you are 
posting regularly!

I'll check it out more, I hope I can get some free time apart from my 
real job to put ECL on my iPhone (I'm became a registered developer)

Thanks,
Dimiter "malkia" Stanev.

Juanjo wrote:
> On Apr 7, 2:32 am, malkia <······@gmail.com> wrote:
>> Too bad ECL is GPL. I would love if it works for me to get a normal
>> license out of it (something like LZO - it's GPL, but there is
>> commercial license too...)
> 
> Hi Dimiter, you already got an answer to this, so I will focus on the
> other questions.
> 
>> Do you know how one can cross-compile ECL? Say I would like to compile
>> most parts of it using MSVC or XCODE, and then the rest compiled using
>> the ARM MSVC (WM5) or iPhone Target for the XCODE?
> 
> People have built ECL in ARM itself, but it can be cross-compiled. The
> process is not completely painless because for several years I myself
> have had no need to update it, but it basically consists on passing
> the usual Autoconf parameters (--build/--host) on a first pass to
> obtain a configuration file. This file has to be edited to match your
> needs. After that you reconfigure and build
> 
> http://sourceforge.net/mailarchive/message.php?msg_id=200307231513.13807.worm%40arrakis.es
> 
>> I'm interrested in both, and I'm really interrested in getting ECL to
>> work.
> 
> Help is really welcome.
> 
>> Also is there a way to make one way big static executable, and still
>> have ASDF to work? - instead of being split on DLLs/SOs?
> 
> ECL is shipped with its own port of ASDF which allows you to build
> executables straight out of a bunch of ASDF files. I mean, you just
> specify the name of the ASDF that describes your program and it is
> built. It cannot be simpler :-)
> 
> (require 'asdf)
> (asdf:make-build 'my-asdf-name :type :program)
> 
> With similar tools you can build a single FASL file that contains all
> libraries you normally use
> 
> (asdf:make-build 'my-asdf-name :type :fasl :monolithic t)
> 
> Or build one FASL file for a given module
> 
> (asdf:make-build 'my-asdf-name :type :fasl :monolithic nil)
> 
> Or a static library for some code you want to ship
> 
> (asdf:make-build 'my-asdf-name :type :lib :monolithic t)
> 
> The original version of this linking facility was implemented by
> Michael Goffioul. I have just adapted the same idea using other tools
> in ASDF. Hopefully the new version should be more stable and work
> better when there are complex dependencies. Help is welcome on testing
> and improving this feature.
> 
> Juanjo
From: Lars Rune Nøstdal
Subject: Re: CLISP on ARM?
Date: 
Message-ID: <47f9a5fc$0$28885$c83e3ef6@nn1-read.tele2.net>
malkia wrote:
> In article
> <····································@n1g2000prb.googlegroups.com>Juanj
> o <·····················@googlemail.com> wrote:
>>  On Apr 4, 3:55 am, "Dimiter \"malkia\" Stanev" <······@gmail.com>
>>  wrote:
>>>   That would be nice! I've got Cydia on my iPod Touch, and was
>>> expecting to find GCL,ECLor CLIPS - but non whatsover.
> 
>>  Maybe ECL is not distributed with your operating system, but it
>> hasbeen built regularly for linux/arm by various users
> 
> 
>> http://sourceforge.net/mailarchive/message.php?msg_name=20071231170039
>>  .GA8545%40fp-desktop.fr.evistel.com
> 
>>  Juanjo
> 
> Hi Juanjo,
> 
> Do you know how one can cross-compile ECL? Say I would like to compile
> most parts of it using MSVC or XCODE, and then the rest compiled using
> the ARM MSVC (WM5) or iPhone Target for the XCODE?
> 
> I'm interrested in both, and I'm really interrested in getting ECL to
> work.
> 
> Also is there a way to make one way big static executable, and still
> have ASDF to work? - instead of being split on DLLs/SOs?
> 
> Too bad ECL is GPL. I would love if it works for me to get a normal
> license out of it (something like LZO - it's GPL, but there is
> commercial license too...)

http://ecls.sourceforge.net/license.html
..mentions LGPL. So you can build commercial software "on top of" ECL.

-- 
Lars Rune N�stdal
http://nostdal.org/