[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

gcc: error message



#gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
#
#CC=/usr/bin/gcc
#pwd
/home/test/gcc_test
#../gcc-2.95/configure --host=i386-redhat-linux
Created "Makefile" in /home/test/gcc_test using "mt-frag"
/usr/bin/ld: cannot open crt1.o: No such file or directory

collect2: ld returned 1 exit status
***
 The command '/usr/bin/gcc -o conftest -g -O2   
conftest.c' failed.
***
You must set the environment variable CC to a working compiler.


Any idea, why I am getting this error ?

_____________________________________________________________
Where you'll find everything under the Sun for the Sun.......www.SunGuru.com