摘要: gcc编译安装过程1.先安装三个库 gmp mprc mpc 这三个库的源码要到官网去下载1)安装gmp:首 先建立源码同级目录 gmp-build,输入命令,第一次编译不通过,发现缺少一个叫m4的东西 于是就用apt-get下载了一个,继续编译,没有报错。make的时候出现大量信息并且生成一些文件在当前文件夹下,之后用make check检查一下,最后用make install安装2)安装mpfr:首先建立源码文件夹同级目录mpfr-build然后进入该目录输入../mpfr-2.4.2/configure --prefix=/usr/local/mpfr-2.4.2 --with-gmp= 阅读全文
posted @ 2013-08-04 19:43 Monn 阅读(821) 评论(0) 推荐(0)
摘要: Fromthis answerto "Install gcc 4.7 on CentOS [6.x]", the easiest way to getg++4.7, and the required tools and libraries, for CentOS 5.x is via thedevtoolspackage:cd /etc/yum.repos.dwget http://people.centos.org/tru/devtools/devtools.repo yum --enablerepo=testing-devtools-5 install devtools 阅读全文
posted @ 2013-08-04 19:31 Monn 阅读(6009) 评论(0) 推荐(0)
摘要: 首先需要准备需要材料:gcc4.4.2版需要安装gmp4.2.0+和mpfr2.3.0+,到GMP的网站(http://gmplib.org/)上下载gmp-4.3.1.tar.gz 和mprf的网站(http://www.mpfr.org/)上下载mpfr-2.4.2.tar.gz分别解压缩tar zxvf gmp-4.3.1.tar.gztar zxvf mpfr-2.4.2.tar.gz解压之后, 文件夹名称为gmp-4.3.1和mpfr-2.4.2,按照下面步骤安装。1. 安装gmp:#cd gmp-4.3.1# ./configure# make# make check这一步用来查看 阅读全文
posted @ 2013-08-04 18:19 Monn 阅读(1385) 评论(0) 推荐(0)
摘要: About Linux SwappingLinux RAM is composed of chunks of memory called pages. To free up pages of RAM, a “linux swap” can occur and a page of memory is copied from the RAM to preconfigured space on the hard disk. Linux swaps allow a system to harness more memory than was originally physically availabl 阅读全文
posted @ 2013-08-04 12:57 Monn 阅读(534) 评论(0) 推荐(0)
摘要: linux修改默认语言编辑/etc/sysconfig/i18n这个文件(不存在就新建一个),原内容如下:LANG="en_US.UTF-8"SYSFONT="latarcyrheb-sun16" 阅读全文
posted @ 2013-08-04 10:50 Monn 阅读(185) 评论(0) 推荐(0)