[Openmcl-devel] Clozuer 1.7 on Nokia N900
nitralime at googlemail.com
Wed Nov 23 11:47:14 CST 2011
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:-(
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:
>> 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?
More information about the Openmcl-devel