SUSE Linux Enterprise 11 SP3 成功编译安装GCC 4.8.2
来源:互联网 发布:宿州云计算产业园 编辑:程序博客网 时间:2024/05/13 17:00
Download GCC 4.8.2 from http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-4.8.2/ (seems quite promising for speed)
Supposed to be stored to ~/download
######################### GMP ###########################
Download GMP from https://gmplib.org/download/gmp/gmp-5.1.3.tar.lz
configure --prefix=/vobs/gcc/deps/
make -j4
make install -j4
######################### MPFR ###########################
http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.bz2
configure --prefix=/vobs/gcc/deps/ --with-gmp=/vobs/gcc/deps/
make -j4
make install -j4
######################### MPC ###########################
http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz
configure --prefix=/vobs/gcc/deps/ --with-gmp=/vobs/gcc/deps/ --with-mpfr=/vobs/gcc/deps/
make -j4
make install -j4
################# ClooG & ISL (Git is needed) #################
svn checkout http://llvm.org/svn/llvm-project/polly/trunk /vobs/repo/polly/vobs/repo/polly/utils/checkout_cloog.sh ~/build/cloog
mkdir ~/build/build_cloog
cd ~/build/build_cloog/
../cloog/configure --prefix=/vobs/gcc/deps/ --with-gmp-prefix=/vobs/gcc/deps/
make -j4
make install -j4
################# Add below config to ~/.bashrc ##############
export LD_LIBRARY_PATH=/vobs/gcc/deps/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=/vobs/gcc/deps/lib/
export C_INCLUDE_PATH=/vobs/gcc/deps/include/
export CPLUS_INCLUDE_PATH=/vobs/gcc/deps/include/
################# Config & Build GCC 4.8.2 #################
cd ~/download
tar xjf gcc-4.8.2.tar.bz2
mkdir build
cd build
../gcc-4.8.2/configure --prefix=/vobs/gcc/4.8.2/
make -j4
make install -j4
################# Update ~/.bashrc ##############
export LD_LIBRARY_PATH=/vobs/gcc/deps/lib/:/vobs/gcc/4.8.2/lib64:$LD_LIBRARY_PATH
#export LIBRARY_PATH=/vobs/gcc/deps/lib/
#export C_INCLUDE_PATH=/vobs/gcc/deps/include/
#export CPLUS_INCLUDE_PATH=/vobs/gcc/deps/include/
export PATH=/vobs/gcc/4.8.2/bin/:${PATH}
################# Check GCC version ##############
gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- SUSE Linux Enterprise 11 SP3 成功编译安装GCC 4.8.2
- SUSE Linux Enterprise 11 SP3 成功编译LLVM + Clang 3.4
- SUSE Linux Enterprise Server 11 SP3安装详解
- Suse Linux Enterprise 9(Sp3) 安装过程
- SUSE Linux Enterprise Server 11安装gcc
- SUSE Linux Enterprise Server 11安装gcc
- SUSE Linux Enterprise Server 12 (x86_64) rpm方式 安装gcc
- SUSE 11 SP3安装OBS
- Suse Linux Enterprise 11安装Oracle11g(一)
- SUSE Linux Enterprise 11 SP4 系统安装
- Win7 + Suse Linux Enterprise 11 SP3 + OS X 10.9组合搭建开发环境
- Suse Linux Enterprise安装图解
- SUSE 11 sp3下安装ftp服务
- SUSE Linux Enterprise Desktop 11
- Suse Linux Enterprise 11安装Oracle11g(二)
- Suse Linux Enterprise 11 安装 VBoxGuestAdditions 出错处理
- SuSE Linux Enterprise Server 11 SP2 安装mysql
- 安装MySQL -- SuSE Linux Enterprise Server 11 SP2
- 线程安全的单列类
- IT行业不得不知的那些人 那些事
- java代码中 两种路径符号的写法
- Common Lisp学习之二:使用函数
- 3.android 读取文件中的数据
- SUSE Linux Enterprise 11 SP3 成功编译安装GCC 4.8.2
- Git 简单使用记录
- the thinker of code complete --
- Apache按照端口号配置反向代理
- Pyton实现简单爬虫和正则表达式的利用
- 区间DP【poj3280】
- Android得到控件的名称
- loading黑马程序员之IO字节流(2-2)
- apache加载mod_limitipconn,限制并发连接数