* Configure problems when install the gcc-2.95.2
@ 2001-01-19 16:55 Chendai Zhao
2001-01-19 17:30 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Chendai Zhao @ 2001-01-19 16:55 UTC (permalink / raw)
To: help-gcc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Configure problems when install the gcc-2.95.2
2001-01-19 16:55 Configure problems when install the gcc-2.95.2 Chendai Zhao
@ 2001-01-19 17:30 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-01-19 17:30 UTC (permalink / raw)
To: Chendai Zhao; +Cc: help-gcc
On Jan 19, 2001, "Chendai Zhao" <chendai@maptrace.com> wrote:
> I don't know why the machine do not recognize the CC variable I set? (I
> check the set CC is there)
Did you export it? (Or, if you use csh, setenv it?)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-19 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-19 16:55 Configure problems when install the gcc-2.95.2 Chendai Zhao
2001-01-19 17:30 ` Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).