This is the mail archive of the gcc-help@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]

help needed on config/install gcc 3.0


Dear Sir,

I have recently tried installed gcc 3.0 on a Solaris 2.7 box. I got the
following error:

=========================================
75 => /opt/local/gnu/gcc-3.0/configure
Configuring for a sparc-sun-solaris2.7 host.
Created "Makefile" in /usr/gnubin using "mh-frag"
/usr/ucb/cc:  language optional software package not installed
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
=========================================

I know I have /usr/ucb/cc installed. But I don't know how to set
theenvironment variable CC. Certainly I know how to set an env variable. But
what value do I need to give to the environment variable CC?

Your help is highly appreciated.

Sincerely,
>
>Cheng Yan


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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