Install GCC with an easier way

来源:互联网 发布:淘宝满减凑单再退款 编辑:程序博客网 时间:2024/06/06 02:50
tar xzf gcc-4.6.2.tar.gzcd gcc-4.6.2./contrib/download_prerequisitescd ..mkdir objdircd objdir$PWD/../gcc-4.6.2/configure --prefix=$HOME/gcc-4.6.2 makemake install
Note: Things positioned after "--prefix=" is a directory where you put your gcc files in.
For more information, please refer to :http://gcc.gnu.org/wiki/InstallingGCC
原创粉丝点击