안녕하세요, 리눅스 환경에 익숙치 않은 유저의 질문입니다.
gcc 최신 버전을 테스트할 일이 있어 우분투 10.10에 gcc 4.6.0 을 빌드중에 있습니다.
prerequisite에 나와있는 GMP, MPFR, MPC, PPL, CLOOG-PPL 을 모두 설치하였습니다.
그리고 build 하니까
checking for suffix of object files… configure: error: in /home/jwkwon/GCC_4.6.0/OBJECT/i686-pc-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See
config.log’ for more details.
이 부분에서 계속 오류가 납니다.
/i686-pc-linux-gnu/libgcc 의 config.log을 확인해보니,
configure:3028: /home/jwkwon/GCC_4.6.0/OBJECT/./gcc/xgcc -B/home/jwkwon/GCC_4.6.0/OBJECT/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include -V >&5
xgcc: error: unrecognized option ‘-V’
xgcc: fatal error: no input files
compilation terminated.
와 같이 옵션이 잘못되었다는 내용을 확인할 수 있는데 이것이 혹시 원인일지 모르겠습니다.
혹시 해결방법을 아시는 분은 답변해주시면 정말 감사하겠습니다.
config.log을 첨부합니다.