GCC is working but it isn't in my path
I am very newbie, and I want to use RH 8.0 to do some C++ programming. I have gcc, I am positive. when I do a "whereis gcc" I get
/usr/bin/gcc /usr/share/man/man1/gcc.1.gz
I am guess that means that's where gcc is. Then when I do a gcc -v I get
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
[1]+ Done xemacs .bashrc (wd: ~)
(wd now: /usr/sbin)
I don't know what any of that stuff means. If somebody wants to waste their time explaining it to me, I'd love to listen, I'm all ears. Some of it I can guess like the mandir or the wd...but my guess is that the mandir means where the man file is, which says /usr/share/man which confuses me, because I thought it was in
/usr/share/man/man1/gcc.1.gz. The second thing that confuses me is wd, which I take to mean working directory (?), but if that is the working directory, I don't see any gcc file in there. On top of which, I do see a gcc file in /usr/bin/ though, but that path isn't in my .bashrc, still the gcc command works, can somebody explain this?