我下載好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
還是出現一樣的問題
想請問要怎麼解決?
謝謝
--
./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
還是出現一樣的問題
想請問要怎麼解決?
謝謝
--
All Comments