I'm using Mac OS X and I manually compiled llvm and clang because they were not available from MacPorts (a package manager).

I presume clang has some kind of man page. How do I install and/or activate it so that I can access it with man clang?

  • Minor technicality: MacPorts has both of these available. sudo port install llvm-devel +clang
    – Jeremy L
    Dec 27, 2009 at 16:28
  • Ah, thank you. port search clang yielded nothing - I thought it was a separate project.
    – xyz
    Dec 28, 2009 at 11:45

2 Answers 2


Speaking from a Linux perspective (which I think might be reasonably similar) the manual compilaton of a program, that is, by the usual

make; make install

may have already generated a man page, and installed it in an appropriate place. This might be done by the makefile.

At least, I've observed this when installing Linux software.

  • Thank you. It didn't seem to. It looks like the "man page" is in a docs subdir in .pod format. I'll install it via MacPorts as the top comment says.
    – xyz
    Dec 28, 2009 at 11:53

As pavium says in my experience with Linux if a man page has been created it installs with the software when you make it. If the authors did not create a man page they did create an on line manual.


  • Thank you. I had saw that, but as I don't manually compile FOSS often, I wondered what the general deal with man pages is.
    – xyz
    Dec 28, 2009 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.