[tech] install gcc via compile

gcc 4.8+ supports c++ 11

so its necessary to update it. (some R packages also need newer compiler)

################################################

download the src file

also gmp mpfr mpc ppl cloog src files

decompress them all

################################################

1. install in this order:

gmp mpfr mpc  ppl cloog gcc

configure with every --with-PkgsNeedInstallBeforeThisStep

################################################

2. another scheme

mv all pkgs into gcc src dir without the version suffix

configure and make at a time!

################################################

 set related ENV

http://gcc.gnu.org/install/prerequisites.html

--
This paper is original. All rights reserved. Welcome reproduce, please indicate the source and keep this statement!
Title:
Link:
posted @ 2014-04-19 02:28  Dicor  阅读(225)  评论(0编辑  收藏  举报