1

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?

xyz
  • 521

2 Answers2

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.

pavium
  • 684
1

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.

http://clang.llvm.org/docs/UsersManual.html

Nunya
  • 578