C compiler and make

Discussion in 'macOS' started by bcostacurta, Sep 14, 2009.

  1. bcostacurta macrumors newbie

    Joined:
    Sep 14, 2009
    Location:
    Luxembourg - Europe
    #1
    Hello,

    I'm a newbie on Mac. Iin fact, I'm a Linux user just bought my first Mac :)

    Where can I find c compiler and make utility ?
    I had a look at xcode but being confused : is this an IDE only or also have compiler and make ?
    If yes where can I found them after installation ?

    Note :needs are related to Perl CPAN package to be build on host destination

    Note:
    OS is Snow Leopard on Mac Book Pro

    Thanks for attention and help.
    Bye,
    Bruno
     
  2. poppero macrumors member

    Joined:
    Jun 26, 2009
    #2
    if you installed Xcode then you have all the compilers you need.
    make your own sources and makefiles then compile and run them in terminal, same way you used on linux.
     
  3. shakenmartini macrumors 6502

    Joined:
    Apr 29, 2008
    #3
    Yes, xcode is the easiest way to get a gcc compiler. Then just about everything will be able to compile.

    It is an optional install if you insert your SL disk.
     
  4. Tex-Twil macrumors 68020

    Tex-Twil

    Joined:
    May 28, 2008
    Location:
    Europe
    #4
    If you have Snow Lepard, you can use the new CLang compiler which looks great and compatible with C.

    More info in THE arstechnica review.

    To use Clang in command line see here. I haven't tested it though.

    cheers
    Tex
     
  5. electroshock macrumors 6502a

    electroshock

    Joined:
    Sep 7, 2009
    #5
    Hi Bruno, I see others has answered your questions well. Just wanted to let you know we've got a great Mac Programming forum here on MR if you have other questions like this where there are more knowledgeable programmers around. :)

    http://forums.macrumors.com/forumdisplay.php?f=73
     
  6. bcostacurta thread starter macrumors newbie

    Joined:
    Sep 14, 2009
    Location:
    Luxembourg - Europe
    #6
    Thanks to all.
    Indeed I was able to complete Xcode installation and now have C compiler and make, so I succeed to install some Perl CPAN package.

    Thanks again.
    Bruno
     

Share This Page