Waleed Khan
Waleed Khan

Reputation: 11467

gcc installed via homebrew doesn't have manpages

I installed gcc 4.9 via Homebrew but I don't have any manpages for gcc or g++. (That is, man gcc and man g++ show No manual entry for gcc/No manual entry for g++). How can I get manpages for gcc and g++?

Upvotes: 0

Views: 841

Answers (1)

Waleed Khan
Waleed Khan

Reputation: 11467

Homebrew doesn't like using the names gcc and g++, since they're already in use by the operating system, and will refuse to link to gcc and g++. Instead it links gcc-4.9 and g++-4.9.

In the same way, you can access the manpages with man gcc-4.9 rather than man gcc and man g++-4.9 rather than man g++.

Upvotes: 3

Related Questions