compiling on 2G|firmware: 3.13

Discussion in 'iOS Development' started by hunt007, Jun 14, 2010.

  1. hunt007

    hunt007 New Member

    Joined:
    Jun 11, 2010
    Messages:
    3
    Likes Received:
    0
    1)I am trying to compile simple c on my iTouch with mobile Terminal.
    2)I hav installed:
    fake-libgcc,
    Gnu gcc(from Cydia),
    make,
    toolchain 2.0(Cydia),
    ldid.

    3)I have used the headers from (http://www.[PIRACY.mu].com/?d=55ZNOCKI) and kept them in /usr/include, /private/var/include

    4)
    file path: /
    name: hello.c
    #include <stdio.h>
    int main() {
    printf("Hello\n");
    return 0;
    }
    ____
    root# gcc hello.c
    ld: library not found for -lgcc_s.10.5
    collect2: ld returned 1 exit status

    _
    help ?

    PS: I have googled and found http://blog.aaronash.com/?p=15
    but the last dude has got his iTouch screwed when he followed the instructions of replacing directories
  2. Freerunnering

    Freerunnering Member

    Joined:
    Sep 1, 2009
    Messages:
    296
    Likes Received:
    0
    Device:
    4G iPod touch
  3. hunt007

    hunt007 New Member

    Joined:
    Jun 11, 2010
    Messages:
    3
    Likes Received:
    0
    Omg

    When I do "make" I get a lots of errors
    all about missing headers

    I only want a working GCC on my mobile terminal...like compiling simple helloWorld programs.

    After that I will shift to actual apps...I.e "using make and all".

    Any help will be appreciated.

    Ps:http://armisael.silix.org/2010/04/h...ith-xcode-3-2-1-without-provisioning-profile/

    I found this...so will I need "x-code and what not" to only compile a regular console helloWorld??????

Share This Page