Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Calculator C
»
Linux Nspire C compiling
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Linux Nspire C compiling (Read 6366 times)
0 Members and 1 Guest are viewing this topic.
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Linux Nspire C compiling
«
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)
and if that works, Maybe I could set up a linux tutorial. otherwise, I'm open to suggestions.
Logged
ExtendeD
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 825
Rating: +167/-2
Re: Linux Nspire C compiling
«
Reply #1 on:
January 09, 2011, 03:35:56 pm »
Are you using Ubuntu?
We are currently trying to get something work with Levak:
http://www.unsads.com/projects/nsptools/ticket/55
Logged
Ndless.me
with the finest TI-Nspire programs
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Linux Nspire C compiling
«
Reply #2 on:
January 09, 2011, 09:34:58 pm »
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.
Edit2: I'm trying the GNU ARM toolchain 3.4.4, that will actually install for me now
It comes with a standard library, glibc, want me to see if it works?
«
Last Edit: January 09, 2011, 10:22:51 pm by willrandship
»
Logged
ExtendeD
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 825
Rating: +167/-2
Re: Linux Nspire C compiling
«
Reply #3 on:
January 10, 2011, 04:34:23 pm »
3.4.4 is quite old, I cannot guarantee you won't have problems. The best package
is this one
.
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!
Logged
Ndless.me
with the finest TI-Nspire programs
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Linux Nspire C compiling
«
Reply #4 on:
January 10, 2011, 09:33:38 pm »
I don't mind not being able to compile ndless itself.
Also, since I'm using LMDE, I'm going to install
This one
instead. Same package.
Edit: except it only goes up to 4.4
«
Last Edit: January 10, 2011, 09:40:08 pm by willrandship
»
Logged
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Linux Nspire C compiling
«
Reply #5 on:
January 11, 2011, 05:44:53 pm »
By the way, for anyone else doing this on Linux, make sure you set the executable permission, or it will always say "permission denied"
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.
«
Last Edit: January 11, 2011, 05:55:03 pm by willrandship
»
Logged
ExtendeD
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 825
Rating: +167/-2
Re: Linux Nspire C compiling
«
Reply #6 on:
January 14, 2011, 06:10:16 pm »
This one is fixed in Ndless v2.0.
«
Last Edit: January 14, 2011, 06:10:29 pm by ExtendeD
»
Logged
Ndless.me
with the finest TI-Nspire programs
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Linux Nspire C compiling
«
Reply #7 on:
January 14, 2011, 06:13:42 pm »
Oh good! I might consider switching, unless, like 1.7, there's no precompiled binary. Is there?
Logged
ExtendeD
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 825
Rating: +167/-2
Re: Linux Nspire C compiling
«
Reply #8 on:
January 14, 2011, 06:14:30 pm »
Not yet, sorry.
Logged
Ndless.me
with the finest TI-Nspire programs
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Linux Nspire C compiling
«
Reply #9 on:
January 14, 2011, 11:38:13 pm »
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....
«
Last Edit: January 14, 2011, 11:53:49 pm by willrandship
»
Logged
ExtendeD
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 825
Rating: +167/-2
Re: Linux Nspire C compiling
«
Reply #10 on:
January 15, 2011, 02:56:06 am »
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.
Logged
Ndless.me
with the finest TI-Nspire programs
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: Linux Nspire C compiling
«
Reply #11 on:
January 15, 2011, 11:00:46 pm »
Wait, the build problem is in the makefile? I thought it was in nspire-gcc, or somewhere in those binaries
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Calculator C
»
Linux Nspire C compiling