Author Topic: Nspire-gcc port to nspire?  (Read 6544 times)

0 Members and 1 Guest are viewing this topic.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Nspire-gcc port to nspire?
« on: November 10, 2010, 11:43:04 pm »
I was just wondering, how hard would it be to port the arm toolchain to the nspire, so you could write C stuff on the go? Besides, Nspire-gcc itself, all you need is a text editor. It would sure improve my C programming time. :D

SirCmpwn

  • Guest
Re: Nspire-gcc port to nspire?
« Reply #1 on: November 10, 2010, 11:47:24 pm »
I'd love to see this, and have thought about it a bit myself.  The only problem is that I don't have that much expertise to do it myself.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nspire-gcc port to nspire?
« Reply #2 on: November 11, 2010, 01:02:04 am »
That might be cool. One even cooler idea, though, would be to add Nspire support to GCC4TI, so 68K programmers can also compile their games to ARM9 Nspire C (kinda like how you can compile for the 89, 89T, 92+ and v200.)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Nspire-gcc port to nspire?
« Reply #3 on: November 11, 2010, 11:23:42 am »
The trouble with that is it's a completely different processor. ARM and 68k have little in common, and are fairly spread out. I might be wrong, though (probably :P)

I was thinking nano would make a good text editor, simple, easy to use gui, low power, open source. Or, we could write our own. :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nspire-gcc port to nspire?
« Reply #4 on: November 11, 2010, 06:25:09 pm »
Yeah I know, but it could compile different code at once maybe, I guess it could be slow, though, since it would need to compile in 68K then do an additional compiling run for ARM.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Nspire-gcc port to nspire?
« Reply #5 on: November 11, 2010, 10:00:03 pm »
Well, if the code's compatible, we could just port both compilers. Run nspire-gcc for nspire games, gcc4ti for 68k (and maybe auto-embed in an oncalc emu) ;)

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: Nspire-gcc port to nspire?
« Reply #6 on: November 12, 2010, 12:29:47 am »
It all depends on whether we can get a standard library working. After all, GCC can compile itself.