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]

Configure problems when install the gcc-2.95.2


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


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