The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Programming on Macbook Pro

    Discussion in 'Apple and Mac OS X' started by johnnyb1726, Mar 26, 2008.

  1. johnnyb1726

    johnnyb1726 Newbie

    Reputations:
    0
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    5
    Hi everyone,

    I just made the switch from Windows and bought a new Macbook Pro. So far I am really enjoying my experience. The one question I have is what is the best way to install gcc and gdb on my machine. Should I just install Xcode 3 or is there a better way? I want to be able to write programs in Vim and compile them using gcc. Thank you for the help.

    --cheers
     
  2. Budding

    Budding Notebook Virtuoso

    Reputations:
    1,686
    Messages:
    3,982
    Likes Received:
    0
    Trophy Points:
    105
    Just install Xcode3, that is the easiest way. You could of course always install those compilers via console, but that is in my opinion an unnecessary waste of time and effort.
     
  3. hollownail

    hollownail Individual 11

    Reputations:
    374
    Messages:
    2,916
    Likes Received:
    0
    Trophy Points:
    55
    I'd also recommend getting Eclipse and the CDT (C Development Toolkit).

    If you're doing student work, or small, individual files VIM will be okay. But if you are working on real projects, nothing beats a really good editor. There are also a ton of plugins and its open source. It will also integrate with SVN/CVS as well as has great refactoring support.

    But it's overkill for simple stuff, and for if you are just learning.
     
  4. kgeier82

    kgeier82 Notebook Deity

    Reputations:
    129
    Messages:
    757
    Likes Received:
    0
    Trophy Points:
    30
    i tried xcode for a bit, v2 with tiger a while back. it did fine with c++, but it was somewhat a little picky about things compared to Visual Studio.

    overall Xcode is ok, but i prefer VS.