Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Gnu C Compiler not working

  1. #1
    Green Apple
    Join Date
    May 2010
    Location
    Under Your Bed, Ready to eat you
    Posts
    53
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default Gnu C Compiler not working
    There was a big issue about libgcc not showing up, but I found a fake libgcc .deb file on the web, and ran dpkg fake-libgcc.deb on terminal. Now cydia thinks I have libgcc, and i went ahead and installed Gnu C Compiler.

    Here's the catch: I'm getting a linker error and I don't know what it is. This is my code:

    Code:
    #include <stdio.h>
    
    int main(int argc, char* argv[]){
    printf("Hello World!\n");
    if (argc > 1){
    printf("You entered these things:\n");
    int i = 1;
    for (i = 1;i<argc;i++){
    printf(argv[i], '\n');
    }
    }
    return 0;
    }
    This is the error that I'm getting:


    Is there anything that I can do about this?

  2. #2
    im not sure if this isn't fake but I have used it and not gotten that error after installing this reinstall gcc just to be safe
    MEGAUPLOAD - The leading online storage and file delivery service

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •