* help needed on config/install gcc 3.0
@ 2001-10-03 15:21 Cheng Yan
2001-10-03 21:11 ` Frank Schafer
0 siblings, 1 reply; 2+ messages in thread
From: Cheng Yan @ 2001-10-03 15:21 UTC (permalink / raw)
To: help-gcc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: help needed on config/install gcc 3.0
2001-10-03 15:21 help needed on config/install gcc 3.0 Cheng Yan
@ 2001-10-03 21:11 ` Frank Schafer
0 siblings, 0 replies; 2+ messages in thread
From: Frank Schafer @ 2001-10-03 21:11 UTC (permalink / raw)
To: Cheng Yan; +Cc: help-gcc
Cheng Yan wrote:
> 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
Hi Cheng,
If You have a C-compiler installed in /some/dir/someC, You should:
# export CC=/some/dir/someC
For the case, that /some/dir is in Your path
# export CC=someC
should be sufficient.
Hope this helps
Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-03 21:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-03 15:21 help needed on config/install gcc 3.0 Cheng Yan
2001-10-03 21:11 ` Frank Schafer
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).