This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Configure problems when install the gcc-2.95.2
- To: <help-gcc at gnu dot org>
- Subject: Configure problems when install the gcc-2.95.2
- From: "Chendai Zhao" <chendai at maptrace dot com>
- Date: Fri, 19 Jan 2001 16:54:14 -0800
Hi,
I tried to install the gcc-2.95.2 in unix.
As I run ../gcc-2.95.2/configure --prefix=/opt/local/bin
the machine show this problem..
>
>Configuring for a sparc-sun-solaris2.8 host.
>Created "Makefile" in /opt/local/lib/gcc-2.95.2-lib using "mh-frag"
>../gcc-2.95.2/configure: gcc: not found
>*** The command 'gcc -o conftest -g conftest.c' failed.
>*** You must set the environment variable CC to a working compiler.
>
So I set the CC=/opt/local/bin/gcc and run the configure again
the machine show the same problem:
>
>Configuring for a sparc-sun-solaris2.8 host.
>Created "Makefile" in /opt/local/lib/gcc-2.95.2-lib using "mh-frag"
>../gcc-2.95.2/configure: gcc: not found
>*** The command 'gcc -o conftest -O2 conftest.c' failed.
>*** You must set the environment variable CC to a working compiler.
>
I don't know why the machine do not recognize the CC variable I set? (I
check the set CC is there)
Thanks in advance.
chendai