How to compile source code.

in macOS edited January 2014
I remember someone pointing to a good paper on general compiling of code, specifically i would like to start compiling more unix tools on os x... any os x specific help would be appreciated, mostly i'm looking for that link, or any links.


  • Reply 1 of 4
    Most of what you need to know is in the README file. Go hit google and search for this topic. I'm sure there's lots of pages on the Linux side that will get you 99% of the way there.
  • Reply 2 of 4
    Yeah, Scott is right. Check any README files that come with the software.

    In best-case scenarios, all you have to do is run ./configure or ./make and you're done.
  • Reply 3 of 4
    stimulistimuli Posts: 564member
    in my experience,



    ./make install

    Do the trick. In fact, I wrote a bash script to do it for me, because it gets kind of repetitive.

    ./configure --help will usually list configure options you may want to enable.
  • Reply 4 of 4
    applenutapplenut Posts: 5,768member
    Yea, I've had to compile a lot of stuff for BeOS PPC so I have limited knowledge. Now I just give it to my younger brother to do. he's more of the programmer type
Sign In or Register to comment.