[問題] gcc install問題
我下載好gcc後
./configure --prefix=/usr/local/gcc
後出現
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /opt/gcc-3.3.5 using "mt-frag"
/tmp/cNf25493/cNf25493.pos: line 8: /usr/local/gcc:
*** The command '/usr/local/gcc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
google了一下 好像是CC path 問題
有試過export CC=/usr/local
再./configure --prefix=/usr/local/gcc
還是出現一樣的問題
想請問要怎麼解決?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.23.14.190
→
10/16 16:27, , 1F
10/16 16:27, 1F
→
10/16 16:51, , 2F
10/16 16:51, 2F
推
10/16 17:10, , 3F
10/16 17:10, 3F
→
10/16 20:30, , 4F
10/16 20:30, 4F
→
10/19 18:49, , 5F
10/19 18:49, 5F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):