Mac Development Tools for 10.7.4

Discussion in 'Mac OS X Lion (10.7)' started by jamesadrian, Sep 21, 2012.

  1. jamesadrian, Sep 21, 2012
    Last edited: Sep 21, 2012

    macrumors member

    Joined:
    Aug 18, 2010
    #1
    I purchased on line and downloaded 10.7.4, so I don't have the disk. How do I get the development tools for this version? How can I tell if they are already in the current installation?

    Thank you for your help.

    Jim Adrian
    jim@futurebeacon.com
     
  2. Mal
    macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
  3. thread starter macrumors member

    Joined:
    Aug 18, 2010
    #3
    jw,

    Thank you for this information. I discovered that I have Xcode 4.2.3 but the terminal window can't find gcc. Is there something else I need to do?

    Jim Adrian
     
  4. thread starter macrumors member

    Joined:
    Aug 18, 2010
    #4
    I just downloaded the update to Xcode 4.5 and the terminal window still can't find gcc. How does one make a source code file called xor.c into an executable file?

    Thank you for your help.

    Jim Adrian
    jim@futurebeacon.com
     
  5. Mal
    macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #5
    Open Xcode and go to Preferences. Click on the "Downloads" tab across the top, and look for "Command Line Tools". Install that, and you should be able to use gcc and the other command line tools.

    jW
     
  6. thread starter macrumors member

    Joined:
    Aug 18, 2010
    #6
    It worked!!!

    Thank you so very much for your help.

    Jim Adrian
     
  7. Mal
    macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #7
    Sure. I forgot about the last part because it's been a while since I did this myself.

    jW
     
  8. thread starter macrumors member

    Joined:
    Aug 18, 2010
    #8
    Now that I can compile C source code with gcc to produce an executable program that will run in the OS X terminal window, can I place this program on my desktop and have it run from there so that the user need not be familiar with the terminal window? What kind of programming would that take? Do I need to ask this question of another MacRumors forum?

    Thanks.

    Jim Adrian
     

Share This Page