From mboxrd@z Thu Jan 1 00:00:00 1970 From: oupegt@hotmail.com.nospam To: help-gcc@gnu.org Subject: gcc:installation problem Date: Fri, 08 Oct 1999 11:58:00 -0000 Message-id: <37fe39f8.27851908@news.interpath.net> X-SW-Source: 1999-10/msg00136.html I'm running a Solaris 2.6 on a Sparc20 and I want to install gcc-2.9.5.1 from the source code on my machine. I have installed gcc-2.7.2 in my /opt/local/bin directory from a package I got from sunfreeware.com. When I run the configure command though, I keep getting an error. -------------------------------------------------------------------------------------------------------------- sun1% setenv CC /opt/local/bin/gcc sun1% ../gcc2951/configure Configuring for a sparc-sun-solaris2.6 host. Created "Makefile" in /data2/home/thomas/misc/compdir/gccod using "mh-frag" gcc: installation problem, cannot exec `cpp': No such file or directory *** The command '/opt/local/bin/gcc -o conftest -g conftest.c' failed. *** You must set the environment variable CC to a working compiler. sun1(74)% gcc -v gcc version 2.7.2.2 ------------------------------------------------------------------------------------------------------------- I have tried this with /usr/ucb set both before and after my gcc bin directory but to no avail. Can anyone figure out what's going on? Please respond both to this newsgroup and via e-mail. May care go with you and Peace, Emile G. Thomas oupegt@hotmail.com.nospam From mboxrd@z Thu Jan 1 00:00:00 1970 From: oupegt@hotmail.com.nospam To: help-gcc@gnu.org Subject: gcc:installation problem Date: Sun, 31 Oct 1999 13:57:00 -0000 Message-ID: <37fe39f8.27851908@news.interpath.net> X-SW-Source: 1999-10n/msg00136.html Message-ID: <19991031135700.hq_xwQLhtdFO3v-wHjptEGdIU9t38g0U18PAW07EBzU@z> I'm running a Solaris 2.6 on a Sparc20 and I want to install gcc-2.9.5.1 from the source code on my machine. I have installed gcc-2.7.2 in my /opt/local/bin directory from a package I got from sunfreeware.com. When I run the configure command though, I keep getting an error. -------------------------------------------------------------------------------------------------------------- sun1% setenv CC /opt/local/bin/gcc sun1% ../gcc2951/configure Configuring for a sparc-sun-solaris2.6 host. Created "Makefile" in /data2/home/thomas/misc/compdir/gccod using "mh-frag" gcc: installation problem, cannot exec `cpp': No such file or directory *** The command '/opt/local/bin/gcc -o conftest -g conftest.c' failed. *** You must set the environment variable CC to a working compiler. sun1(74)% gcc -v gcc version 2.7.2.2 ------------------------------------------------------------------------------------------------------------- I have tried this with /usr/ucb set both before and after my gcc bin directory but to no avail. Can anyone figure out what's going on? Please respond both to this newsgroup and via e-mail. May care go with you and Peace, Emile G. Thomas oupegt@hotmail.com.nospam