Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: Awesomeness on September 16, 2011, 11:10:16 pm
-
I have working ndless on my calculator. How do I program with C in it? I have basic experience in C; I just need a basic tutorial on how to put a "Hello world" program over.
-
There are several topics around here, and some information on Hackspire :)
-
Could you please link to them? I can't find these topics you speak of :P
-
http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction
-
It might be a little bit more difficult to do what's detailed in that website on a Mac, though.
You may have to rebuild some stuff by yourself...
For the C programming editor, by the way, I'd recommand XCode.
Than you can link some script to it to automatically compile through the arm toolchain etc.
-
I don't think it's possible. Macs don't come with things like make and wget and apt-get. They're Unix, but weird.
-
Macs don't come with things like make [snip] and apt-get
Neither do most flavors of Linux, out of the box :)
apt-get is one of the packaging tools of Debian and derivatives, and most distributions do not include, due to space constraints, build-essentials (or equivalent), in their out of the box configuration. And some distros out there might have curl instead of wget.
On MacOS X, use MacPorts :)
-
If you install Xcode (Developer Suite), all the things like Make, gcc, gdb etc. will be available.
MacPorts is quite useful indeed, btw
-
If you install Xcode (Developer Suite), all the things like Make, gcc, gdb etc. will be available.
MacPorts is quite useful indeed, btw
orly?
(http://minecraft.techmastertelecom.com/orly.png)
Yes, this is a 100% legit copy of the dev suite. It may be quite old though.
-
You can also use LLVM instead of GCC. Have you tried reading the man pages for the tools to figure out how to call them?
-
Try making a very basic C program in XCode.
Check in the project' settings whether it compile through GCC or LLVM.
^ You hould have both if you install a pretty new verion of XCode. (> 3.something I think).
try "locate gcc" it shoudl be in /usr/bin/... ?