Problem with 'cc' while building/installing gcc 3.4.0
I'm becoming more and more experienced with Linux everyday. However, I'm having trouble installing gcc 3.4.0. Following the online instructions, I ran srcdir/configure in the objdir, but I encounter an error that a 'cc' command couldn't run. The error mentions adding the CC line to my environment and pointing it to the 'cc' compiler (or other compiler). However, I don't have cc installed!
In fact, if I do whereis cc I simply get cc: on a new line--which I presume confirms that cc is not installed. When I do whereis gcc I get gcc: on a new line. Can anyone tell me where/how to get cc installed, or how to build/install gcc 3.4.0 without it? TIA |
cc is part of the gcc package if you want to build it from source you will have to install a packaged gcc first. There should be a gcc package on your distribution cd
|
All times are GMT -5. The time now is 11:31 AM. |