>> Edit article
이름
제목
패스워드
테스트 결과입니다. [root@localhost gcc-3.0.4]# export CC=gcc [root@localhost gcc-3.0.4]# ./configure --prefix=/usr/local Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /root/gcc-3.0.4 using "mt-frag" ./configure: gcc: command not found *** The command 'gcc -o conftest -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler. [root@localhost gcc-3.0.4]# make bash: make: command not found 쉘파일 쓰는데 암것두 없어도 문제 없는건가요...!! 제거 ..cshrc는 아직 셋팅된것이 없는데.... 이것하구 문제있는건 아니곗지요..!!!! : 그냥 에러 메시지가 보여주는대로 라면 export CC=gcc 하면 될것 같기도 : 합니다만, GCC를 컴파일하는 것은 생각처럼 단순하지 않은지라 : 장담할수 없습니다. : : 일단 export CC=gcc 명령을 내린후 configure 명령을 다시 내려 : 보시기 바랍니다. : : make 를 실행해서 또 에러가 난다면 그 에러내용을 첨부해서 다시 : 질문해보세요. : : : 문제는 다음과 같습니다. : : gcc-3.0.4 다운로드 후 : : 해당 디렉토리로 이동해서 : : cd /root/gcc-3.0.4 : : : : ./configure --prefix=/usr/local 한 결과인데요.... : : : : Configuring for a i686-pc-linux-gnu host. : : Created "Makefile" in /usr/local using "mt-frag" : : /tmp/gcc-3.0.4/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. : : : : 환경변수를 어떻게 setting 해야하는 건가요..?? : : : : 쉘파일에 뭘 집어넣어야 하나요...??
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved