problem

gerry zang gzang@hicam-msd.hitachi.com
Fri Oct 1 10:31:00 GMT 1999


Jeff,

Thank you for your help.
It looks like if I want to install gcc on my system I should have c compiler
installed
first.
If I have old version gcc on my system now and I want to install gcc-2.95.1.
Should
I still install c compiler first? or if there is some pre-built compiler I
should install
first before I install gcc-2.95.1. And where I can get the pre-build compiler?
Please let me know.

Thank you very much

Gerry Zang

Jeffrey A Law wrote:

>   In message <37F2B0B3.A153BACC@hicam-msd.hitachi.com>you write:
>   > To Whom It May Concern,
>   >
>   > I am installing gcc-2.95.1 on my sparc 20 system, which runnig Solaris7.
>   > When I run the cofigure command:
>   > ./configure --with-local-prefix=/usr/local-- --enable-shared--
>   > I got the following errors:
>   >
>   >
>   > Configuring for a sparc-sun-solaris2.7 host.
>   > Created "Makefile" in /home/gzang/opt/gcc-2.95.1 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.
>   >
>   >
>   > Please let me know what is the solution.
> You must have a C compiler to build GCC.  Your system does not have a C
> compiler installed.
>
> jeff



More information about the Gcc-bugs mailing list