man gcc?

Need help with C, C++, perl, python, etc?

man gcc?

Postby rplantz » 2006-12-07 05:59

I installed gcc-4.1, gcc-4.0-doc, binutils-doc, and build-essential. I still don't have a man page for gcc. I've got it for as and ld.

What package am I missing? (I feel stupid asking this question. :oops: )
rplantz
 
Posts: 36
Joined: 2006-11-29 05:26

Postby ajdlinux » 2006-12-07 06:31

The gcc man pages are weird - you have to use man gcc-4.0 to see it, man gcc on my system redirects to g++.
Jabber: xmpp:ajdlinux@jabber.org.au
Spammers, email this: ajdspambucket@exemail.com.au
ajdlinux
 
Posts: 2480
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

Postby rplantz » 2006-12-07 17:29

ajdlinux wrote:The gcc man pages are weird - you have to use man gcc-4.0 to see it, man gcc on my system redirects to g++.


You led me in the right direction. I had installed 4.1.2 of both gcc and g++. My system did not behave quite like yours, but your remarks caused me to also install 4.0 of both gcc and g++. Now I can do man gcc-4.0 or man g++-4.0 and get man pages.

The --version shows that my default is still 4.1.2; I have to explicitly state 4.0 (e.g., g++-4.0) to use the 4.0 version.

I will assume for now that the 4.0 man pages are at least very close to the 4.1 versions.

Thank you.
rplantz
 
Posts: 36
Joined: 2006-11-29 05:26


Return to Programming

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable