Thread: c++ in xcode (newest version)

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    38

    c++ in xcode (newest version)

    alright so I've been using Microsoft visual studio ti do my programming so far but I just recently got a mac and I installed xcode on it so I could program. Only i cant even figure out how to open up a blank c++ project. All the things google came up with say to got to new project and then command line utility and then c++ tool but when i open up new project in the newest version of xcode theres nothing that says command line utility. can anyone help me out?

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    399
    It says "Command Line Tool" in the version I have, and I believe it's the latest one. Have you selected the Application tab?

    You could also just open up Terminal.app and compile your programs from the command line with the g++ command.

  3. #3
    Registered User Chris87's Avatar
    Join Date
    Dec 2007
    Posts
    139
    Being a mac user, I have to say mac development intimidates me. Apple switches architectures every 5 years and if you want universal binaries, you'll get a lot of frustration.

    Though, there is one tool that's your friend. If you use Terminal, there's the lipo command. It can tell you which architectures a binary was built for, combine binaries into FAT (multi-architecture) format.

    Also, I'd look into MacPorts (macports.org). It's basically to Mac what Cygwin is to Windows.

    Here's the symbol used by lipo for architectures:

    ppc - PowerPC
    ppc7400 - Some flavor of PowerPC I've encountered
    i386 - 32-bit Intel
    x86_64 - 64-bit Intel, 10.6's default

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. No Version info tab in file properties?
    By cpjust in forum Windows Programming
    Replies: 2
    Last Post: 06-03-2008, 03:42 PM
  3. How to set File Version of VC++ 6 dll
    By mercury529 in forum Windows Programming
    Replies: 3
    Last Post: 12-08-2006, 02:49 PM
  4. Finding the windows version...
    By The_Muffin_Man in forum Windows Programming
    Replies: 1
    Last Post: 06-10-2004, 11:39 PM
  5. What is the newest version of MFC ?
    By Rutabega in forum Windows Programming
    Replies: 1
    Last Post: 01-13-2004, 10:11 AM