MAKE C++ compiler for mac

Discussion in 'Mac Apps and Mac App Store' started by iladykoVision, Dec 12, 2007.

  1. iladykoVision macrumors newbie

    Joined:
    Dec 12, 2007
    #1
    I'v never work with macos.
    I want to build utility from C++ sources. It's build instruction says:
    ./configure
    make
    make install.

    I open commander (smth. like cmd in WinXP) - OK
    Run ./configure - OK (but with few errors)
    Run make - Error. Such command doesn't exist.
    So, where should I find make. How could I install make compiler.

    I am waiting for any help. Thanks.
     
  2. TheStu macrumors 65816

    Joined:
    Aug 20, 2006
    Location:
    Carlisle, PA
    #2
    # -----------------------------------------------
    # Files:
    # rational.out - The Output File
    # rational.h - Your Header Files
    # rational.cpp - Your CPP File for the Header
    # test.cpp - Your Test Program
    #
    # Directions: Replace all listed files with your own below.
    # You MUST include any and all header (.h) and C++ files (.cpp).
    # Include this file in your program directory
    # After upload, cd into program directory and run the command "make"
    #
    # NOTE: If you used a "Managed Make C++ Project" in Eclipse, you will
    # have to remove the auto-generated makefile in place of this one.

    rational.out: Rationals.h Rationals.cpp RationalsTest.cpp
    g++-4.0 -o Rationals.out Rationals.h Rationals.cpp RationalsTest.cpp


    I simply copied one of my old school makefiles... I am pretty sure that you can get rid of the the -4.0 part. That was something that I started throwing into my make files to force the professors system to compile in GCC 4.0 since he had given me a low grade on one of my projects since it didn't compile the same in 3.3

    Anyway, just sub in your information for my information and you should be set.

    Oh, and I suggest Aquamacs emacs for the texteditor for creating your make file, it is quite good.
     
  3. iladykoVision thread starter macrumors newbie

    Joined:
    Dec 12, 2007
    #3
    The main problem is, that I haven't any soft/compilers/linker for building project under macos. I have only downloaded sources of opensource project with instruction. I have never work with macos.
    I know, that ./configure running creates needed Makefiles for make. But I haven't any make, or other C++ compilers under macos X (tiger), so I can't compile project :(

    As I have only this instruction, I need make utility only, because in other way, I don't know how to build it.

    Could you help we and give me link to any development tools with !make!, g++.
     
  4. gekko513 macrumors 603

    gekko513

    Joined:
    Oct 16, 2003
    #4
    You have to install the developer tools from the Mac OS X installation DVD or download them from apple. Installing the developer tools will install everything you need (and more).
     
  5. iladykoVision thread starter macrumors newbie

    Joined:
    Dec 12, 2007
    #5
    Could you give me exact link to this soft (developer tools from the Mac OS X). Are developer tools free?
     
  6. gekko513 macrumors 603

    gekko513

    Joined:
    Oct 16, 2003
    #6
  7. iladykoVision thread starter macrumors newbie

    Joined:
    Dec 12, 2007
    #7
    I'm sorry, but I have Mac OS X Tiger. Are Tiger and XCode 3.0. compatible?
     
  8. gekko513 macrumors 603

    gekko513

    Joined:
    Oct 16, 2003
    #8
    The second link in my previous (edited) post also has XCode 2.5, which I'm sure will work on Tiger. I don't know if 3.0 works on Tiger.
     
  9. iladykoVision thread starter macrumors newbie

    Joined:
    Dec 12, 2007
  10. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #10
    Xcode 2.5 is the one you want.

    Xcode 3.0 is for Leopard only.
     

Share This Page