Compiling C code on the iPod Touch?

Discussion in 'Mac Programming' started by Acornz, Oct 19, 2008.

  1. Acornz macrumors member

    Aug 9, 2008
    Hello, I am fairly new to programming, I started learning C about two weeks ago. I recently bought an iPod Touch and found a word processor in the App Store that supports .c files. I am curious about this since I am almost never at home and would like something to code with while I am away. My question is, if I buy this word processor and write my C programs on the iPod Touch, would there be a way to compile and run them (install gcc and a terminal/command line of some sort) on the iPod? Any answers would be greatly appreciated. :confused:
  2. lee1210 macrumors 68040


    Jan 10, 2005
    Dallas, TX
    One of the app store restrictions is that no compilers or interpreters are allowed. I'm sure via a jailbreak you could easily have a compiler available, but I don't think you'll get what you are looking for with a "stock" touch. Your better bet is to get an Internet-acessible machine that you can SSH to. There are a few ssh clients on the app store that you could use. This does restrict you to places with wifi, but it may be better than nothing.

  3. itzeug macrumors newbie

    Aug 19, 2008
    All you need is an ssh 'terminal' client, and you can ssh into some linux pc or even your mac, and you can compile on those. unfortunately you wont be able to compile what you wrote in the text editor unless you'll find a way of uploading it onto the box with the compiler.

Share This Page