terminal compiler help

Discussion in 'iOS Jailbreak & Cydia' started by bandninja, Jul 2, 2009.

  1. bandninja

    bandninja New Member

    Joined:
    May 10, 2009
    Messages:
    7
    Likes Received:
    0
    Device:
    2G iPod touch
    I have gtextedit and terminal on my ipodtouch 2g and textedit allows me to save things as a .c file, I'm a beggining c developer and I downloaded the GNU compiler from cydia, however after it 'compiles' my c file into a terminal program terminal won't let me run it, it simply says "killed"..........can anyone help me???
  2. Pocket_God_God

    Pocket_God_God New Member

    Joined:
    Jun 29, 2009
    Messages:
    89
    Likes Received:
    0
    Device:
    2G iPod touch
    You have to sign it with: ldid -S your app name here
    (make sure its a uppercase S i wasted a LOT of time before i realized that)
    then change the permissions with: chmod 0755 your app name here
    That should make it work

Share This Page