[Openmcl-devel] Clozuer 1.7 on Nokia N900
nitralime
nitralime at googlemail.com
Wed Nov 30 06:22:20 PST 2011
I have downloaded and installed it. Thank you!
Where can I find a howto like documentation for building CCL kernel?
On 11/29/2011 05:36 PM, Gary Byers wrote:
> If you or anyone else still needs this, I put a 1.7 armcl compiled
> on an Ubuntu 09.04 system in:
>
> <ftp://ftp.clozure.com/pub/release/1.7/lisp-kernel-for-older-ARM-systems/armcl>
>
>
> I actually have a Nokia N900, and verified that this kernel runs on
> that machine.
>
> Our ability to do this sort of thing is somewhat limited. Compared to
> a lot
> of Linux software, the CCL kernel is actually pretty easy to build; if
> you
> can compile a simple command-line "hello, world" program for your device,
> you probably have everything you need to build the CCL kernel.
>
> On Wed, 23 Nov 2011, nitralime wrote:
>
>> Thank you for your prompt answer!
>>
>> I have already compiled a few software packages
>> either directly on my N900 or on a chrooted Ubuntu/Debian
>> in the past. That should not be a big deal as long as the compilation
>> itself goes smoothly.
>>
>> If you have already a working version for N900,
>> I would prefer to install it. Otherwise, I have to
>> bite the bullet and compile it myself:-(
>>
>> Regards
>> Nik
>>
>>
>> On 11/23/2011 03:40 PM, Gary Byers wrote:
>>> The short answer is that the N900 uses a fairly old Linux distribution
>>> and the 1.7 binaries were built on a newer distibution. (I think that
>>> the specific issue is that some of the startup code in the CCL kernel
>>> uses THUMB2 instructions and the N900's Linux kernel doesn't support
>>> THUMB2 binaries, if anyone cares.)
>>>
>>> The workaround is to simply compile the CCL kernel on an older
>>> machine. That may not be so simple in the case of the N900; some
>>> people are able to compile C code on and for the N900 by running a
>>> compatible version of Debian in a chrooted environment, and there are
>>> cross-compilation setups that run on desktop/laptop machines. (Both
>>> of these things are a lot of fuss to go through just to build a fairly
>>> small C/assembler program.)
>>>
>>> If you aren't set up to do this, let me know; I'm pretty sure that
>>> I have a machine that can compile a binary that the N900 can run.
>>> (For that matter, I have an N900, too, and I'm pretty sure that
>>> I've run into this issue.)
>>>
>>> On Wed, 23 Nov 2011, nitralime wrote:
>>>
>>>> Hello!
>>>>
>>>> I have recently installed Clozure 1.7 on a Nokia N900.
>>>> Unfortunately it doesn't work! Calling "armcl from
>>>> the command line returns the following error message:
>>>>
>>>> "bash: ./armcl: cannot execute binary file"
>>>>
>>>> The Clozure 1.6 works without any problems!
>>>>
>>>> Am I missing something?
>>>>
>>>> Regards
>>>> Nik
>>>>
>>>>
>>>>
>>
>>
More information about the Openmcl-devel
mailing list