Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: willrandship on January 09, 2011, 03:30:52 pm
-
Does anybody have recommendations for a good setup to use for C development for the nspire under linux? I can manage an IDE, and all that sort of stuff, but devkitPro, among others, is sort of a pain. Right now I'm downloading gcc v3.4 for ARM, just a straight compiler (I hope) :P and if that works, Maybe I could set up a linux tutorial. otherwise, I'm open to suggestions.
-
Are you using Ubuntu?
We are currently trying to get something work with Levak: http://www.unsads.com/projects/nsptools/ticket/55
-
I'm using LMDE, so close enough, most Ubuntu packages work. Thanks!
Edit: So, was the issue ever resolved? I can set up a dev environmet on a diff. PC that has windows on it *shudder*
I'm not shuddering at windows, I'm shuddering at the pentium III I'll be using to compile stuff. :P
Edit2: I'm trying the GNU ARM toolchain 3.4.4, that will actually install for me now :P It comes with a standard library, glibc, want me to see if it works?
-
3.4.4 is quite old, I cannot guarantee you won't have problems. The best package is this one (http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction#On_Ubuntu).
We have fixed some parts of the issue but not all of them at the moment. This probably won't prevent from building programs on Linux, but it does prevent from building Ndless itself. Any help is welcome!
-
I don't mind not being able to compile ndless itself.
Also, since I'm using LMDE, I'm going to install This one (http://www.emdebian.org/tools/crosstools.html) instead. Same package.
Edit: except it only goes up to 4.4
-
By the way, for anyone else doing this on Linux, make sure you set the executable permission, or it will always say "permission denied" :P
Also, nspire is throwing this: /home/william/CalcStuff/ndless-v1.7/sdk/bin/nspire-gcc: 27: arm-none-eabi-gcc: not found
And before you ask, I did install gcc-arm-linux-gnueabi, v4.4.
-
This one is fixed in Ndless v2.0.
-
Oh good! I might consider switching, unless, like 1.7, there's no precompiled binary. Is there?
-
Not yet, sorry.
-
So, I noticed nspire-gcc and its build tools are there in the source, already compiled, so can I use those to build stuff for 1.4 as long as I use the 1.4 os.h?
edit: oh wait they're source files....:(
-
To work around your problem, you could probably just use the particles demo's Makefile from Ndless 2.0 for you program, and build with Ndless 1.7, but I haven't tested.
-
Wait, the build problem is in the makefile? I thought it was in nspire-gcc, or somewhere in those binaries ???