gcc installation

lrtaylor@micron.com lrtaylor@micron.com
Mon Dec 15 18:40:00 GMT 2003


You need a working C compiler on your system in order to build GCC.  If you do not already have one installed, then you will not be able to build GCC from sources.  If you do have one (e.g., Forte), then add the path in which it is installed to the beginning of your PATH variable.  Otherwise, you might try installing a binary release instead.  For example, try looking at www.sunfreeware.com.

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]On
Behalf Of Pranav Sharma, Noida
Sent: Monday, December 15, 2003 11:35 AM
To: gcc-help@gcc.gnu.org
Subject: gcc installation


Hi All,

I am installing gcc on Sun sparc v480 machine. When I am giving the
./configure command, the following error messege is reported.

# ./configure

loading cache ./config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

The output of my echo $PATH is :
# echo $PATH
/opt/CTEact/bin:/opt/SUNWexplo/bin:/opt/sun/bin:/usr/sbin:/usr/bin:/usr/ccs/
bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-480R/sbin:/usr/
ucb

And when I give the cc command on prompt, I get the following messege.
# cc

/usr/ucb/cc:  language optional software package not installed


Can anyone help me finding where I am going wrong and what should I correct.

Thanks & Regards
Pranav Sharma



More information about the Gcc-help mailing list