우분투 14.04에서 gcc 3.4 사용 오류에 대해서 질문드립니다.

misohouse의 이미지

root@ubuntu:~# cat /etc/issue
Ubuntu 14.04.1 LTS \n \l

위 화면은 제 우분투 버전이고

아래 화면은 gcc 3.4를 사용했을 때 오류 입니다.

root@ubuntu:~# gcc-3.4 test.c
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: skipping incompatible /lib/../lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible //lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status

기존에 있는 gcc 4.8을 사용할 때는 오류가 나지 않는데 gcc 3.4를 사용하면 오류가 납니다.

참고한 사이트는 http://deokss.blogspot.kr/2012/08/gcc-34-on-ubuntu-1204default-gcc-46.html 입니다.

저 오류가 왜 나는지 모르겠습니다.. 답변해주시면 감사하겠습니다.. ^^

misohouse의 이미지

해결했습니다 ^^

어떻게든 되는 것은 없다.