GCC-3.3.3 Install on Suse
Hi,
I am trying to install GCC-3.3.3 on a suse linux 9.0 pro distribution. The os install was a minimal install on pentium 166, so no c compiler was installed. I am getting an error when i go to run the configure script that says $CC environmental variable empty, or basicaly no c compiler can be found, which I do not get b/c I am installing a c compiler. When i echo $CC, it returns an empty line and, a call to cc or gcc is not found in bin or sbin or anywhere in my path. So my question is, What should i install primarily as a c compiler so that i can install GCC-3.3.3? It seems that GCC-3.3.3 needs a c compiler to install itself. Is my line of thinking all correct here? Any suggestions would be greatly appreciated! Thanks! |
You are a bit confused I take it.
you are compiling gcc-3.3.3 ? To install gcc-3.3.3 from rpms doesnt need a $CC variable. Thats for compiling. Whatever just install gcc that came with your distro then upgrade to gcc-3.3.3 . And as new to Linux and compiling as you are, I would use an .RPM / .TGZ / TAR.GZ file to "install" gcc. Yes, you cannot compile gcc-3.3.3 wothout gcc of some sort. I am getting an error when i go to run the configure script that says $CC environmental variable empty, or basicaly no c compiler can be found, which I do not get b/c I am installing a c compiler. If you review the statement you made, "or no compiler can be found" that is pretty self explainitory. But sometimes we all dont get why we can't compile a compiler withoput a compiler. |
All times are GMT -5. The time now is 09:26 PM. |