compile on the iphone

Discussion in 'iOS Development' started by nudded, Jun 29, 2008.

  1. nudded

    nudded New Member

    Joined:
    Oct 13, 2007
    Messages:
    238
    Likes Received:
    0
    Device:
    iPod touch
    i installed the compiler for the iphone(it is in cydia)
    but i cant get it to work, it gives me an error saying unknown symbol _main in/usr/bin/ld

    Any fixes?
  2. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    make sure you install everything you need.


    INCLUDING:
    Darwin CC tools
    Make
    GNU Compiler
    BigBoss' 1.1.1 Headers ( alternatively copy your own to /usr/local/include )

    and then once you app files are on the device, go got that directory and type make in a terminal. That will compile


    I know it works, as i use it on vacation.

    -John
  3. nudded

    nudded New Member

    Joined:
    Oct 13, 2007
    Messages:
    238
    Likes Received:
    0
    Device:
    iPod touch
    allright thx

Share This Page