Make command not found in Mac os

Discussion in 'Mac Programming' started by sunilkumarg, Apr 11, 2012.

  1. sunilkumarg, Apr 11, 2012
    Last edited by a moderator: Apr 11, 2012

    macrumors newbie

    Joined:
    Apr 11, 2012
    #1
    HI All ,

    Iam very newbi to Mac os.I am having makefile and source files.I want to build the source files using makefile ,But when Iam trying to run makefile using command make on the terminal, giving "make command not found "

    Plz help me in this and awaiting for reponse for the above problem
    Plz help me
    my mail id sunilcs_bec@yahoo.co.in
     
  2. macrumors 68030

    Joined:
    Oct 19, 2011
    Location:
    Switzerland
    #2
    You have to install Xcode. Then, in Xcode, go to downloads, and install the command line tools.
     
  3. thread starter macrumors newbie

    Joined:
    Apr 11, 2012
    #3
    Thanks a lot for ur informaion
     
  4. thread starter macrumors newbie

    Joined:
    Apr 11, 2012
    #4
    "catastrophic error : cannot open source file pthread.h "

    Hi .all

    I have application .Which Iam trying to compile on MAC OS using make file.It is giving error "catastrophic error : cannot open source file pthread.h "

    Note: Iam using intel 64-bit ICC compiler(not GCC for building my application)

    Plz let me know reason and help me in this

    Thanks in advance
    Sunny
     
  5. macrumors 6502a

    Joined:
    Oct 26, 2010
  6. macrumors regular

    Joined:
    Jun 5, 2010
    #6
    pthread is part of POSIX, which is supported on MAC. try /usr/include dir.
     

Share This Page