gcc-4.0 failed with exit code 1

Discussion in 'Mac Programming' started by fuzeman, Jul 7, 2008.

  1. fuzeman macrumors newbie

    Joined:
    Jun 3, 2008
    #1
    Hi
    Im having problems with compiling a Project it brings up this error
    Code:
    Command /Developer/usr/bin/gcc-4.0 failed with exit code 1
    What is the problem anyone know of a simple fix or something for this
    Thanks
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    You most likely have a bug in your code.
     
  3. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #3
    ... and gcc probably told him which bug just before the error message he posted.
     
  4. ataylor2009 macrumors member

    Joined:
    Jan 27, 2009
    #4
    Edit:

    Nevermind. I solved my problem. Turns out Xcode was set up to compile for an actual iPhone, not the iPhone simulator. Moved the little tick-mark from one check-box to another, and shazam, problem solved.
     
  5. davidddd macrumors newbie

    Joined:
    Mar 15, 2011
    #5
    please, can you tell me how did yo do to fix that problem?
    I have the same problem...

    thanks!
     

Share This Page