Installing GCC: Configuration
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Wed Nov 13 02:13:00 GMT 2002
Am Mit, 2002-11-13 um 08.50 schrieb operator:
> Hi Tech,
> Problem encountered when I installing gcc :
>
> root@sunsvr01 # sh /opt/gcc/configure
> Configuring for a sparc-sun-solaris2.8 host.
> Created "Makefile" in /opt/gcc_objdir using "mh-frag"
> /opt/gcc/configure: cc: not found
> *** The command 'cc -o conftest -g conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
> root@sunsvr01 #
>
>
> Any hint ?
As the error message says, you need to have a functional cc installed.
As you seem to be using a sun, the configure script probably detects
Sun's /usr/ucb/cc stub (It's a shell script returning an error status)
and correctly aborts.
So, you either need to install a functional cc or, if you already have
one installed, to adjust your $PATH.
Ralf
More information about the Gcc
mailing list