0 Members and 7 Guests are viewing this topic.
Hopefully, I can get Python to compile and run, though I think it might be too big. Can't hurt to try it Currently, it fails on compiling the unicodeobject.h file, don't know why, something about variable declaration errors.Python 2.7 on an Nspire, now THAT would be cool.
I am new to this, can someone make a video on how to get a linux file to run on the calculator?
When (if?) you eventually get it to cross compile and you've secured the binaries, you need to add it to an existing ramdisk image. You can often do this by mounting the file as a filesystem and copy the binary(ies) into /usr/bin or wherever.
Quote from: tangrs on October 30, 2012, 05:45:18 pmWhen (if?) you eventually get it to cross compile and you've secured the binaries, you need to add it to an existing ramdisk image. You can often do this by mounting the file as a filesystem and copy the binary(ies) into /usr/bin or wherever.How would you mount the file as a filesystem (on a mac)?
Quote from: merauder75 on October 30, 2012, 08:55:25 amHopefully, I can get Python to compile and run, though I think it might be too big. Can't hurt to try it Currently, it fails on compiling the unicodeobject.h file, don't know why, something about variable declaration errors.Python 2.7 on an Nspire, now THAT would be cool.I got it to work a while ago but it increased the ramdisk size to ~20MB and the loading time wasn't really worth it
Quote from: tangrs on October 30, 2012, 05:36:36 pmQuote from: merauder75 on October 30, 2012, 08:55:25 amHopefully, I can get Python to compile and run, though I think it might be too big. Can't hurt to try it Currently, it fails on compiling the unicodeobject.h file, don't know why, something about variable declaration errors.Python 2.7 on an Nspire, now THAT would be cool.I got it to work a while ago but it increased the ramdisk size to ~20MB and the loading time wasn't really worth it How'd you do that? I just tried messing with the broken header file, but to no avail. I mostly want to do it simply because I can, like everything else I do to my calculator . Do you have to use the python source code from their site, not from buildroot?
What did you change in the code to achieve this ?