리눅스에 CC가 안 깔려있으면 지금 하시는 gcc 3.0.4 컴파일은
뭘로 할까요? :-)
참고로
[root@nautilus2 /root]# which cc
/usr/bin/cc
[root@nautilus2 /root]# ls -al /usr/bin/cc
lrwxrwxrwx 1 root root 3 May 5 04:22 /usr/bin/cc -> gcc
이렇게 되어있습니다. 즉 리눅스에서는 cc가 gcc라는 얘기죠.
: 리눅스에 gcc가안깔려있어서..
: gcc를 깔려고 하는데...
: 다음과 같은에러가 나옵니다...
: 왜그런지..
: [root@com gcc-3.0.4]# ./configure --prefix=/usr/local/gcc
: Configuring for a i686-pc-linux-gnuoldld host.
: Created "Makefile" in /root/down/gcc-3.0.4 using "mt-frag"
: ./configure: cc: command not found
: *** The command 'cc -o conftest -g conftest.c' failed.
: *** You must set the environment variable CC to a working compiler.
: [root@com gcc-3.0.4]# make bootstarap
: make: *** 목표 `bootstarap'를 만들 규칙이 없음. 멈춤.
:
:
: 왜그러져?....