This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installing GCC: Configuration


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]