tar xzf gcc-4.6.2.tar.gz cd gcc-4.6.2 ./contrib/download_prerequisites cd .. mkdir objdir cd objdir $PWD/../gcc-4.6.2/configure --prefix=$HOME/gcc-4.6.2 make make 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
本文提供了一步一步安装 GCC 4.6.2 的详细过程,包括下载源文件、配置编译参数及安装步骤。注意 --prefix 参数用于指定 GCC 文件的存放目录。
1722

被折叠的 条评论
为什么被折叠?



