我用:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.8在ubuntu13.04到中安装g++4.8。但是,当我想编译一个c++程序时,例如world.cpp和我编写了g++ world.cpp,我收到了:
/usr/local/bin/ld: this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status我是linux新手。我不能用this解决我的问题
发布于 2013-10-18 05:54:15
更好地安装元包构建-必需的,包括所有典型需要的软编译。
sudo apt-get install build-essentialhttps://stackoverflow.com/questions/19441566
复制相似问题