install gcc on your computer
来源:互联网 发布:阿里云服务器免费试用 编辑:程序博客网 时间:2024/05/16 09:30
mainly from: https://gcc.gnu.org/wiki/InstallingGCC
the main steps:
for example: configuring and building gcc-5.3.0 should be as simple as
tar gcc-5.3.0
./contrib/download_prerequisities
cd ..
mkdir objdir
cd objdir
$PWD/../gcc-5.3.0/configure --prefix=/your/install/path/gcc-5.3.0 --enable-languages=c,c++,fortran,go --disable-multilib
make -j 8
make install
------------------------------------------------------------
do soft link, I have installed gcc/g++ 4.8.4
duplicate the original link, for me: sudo mv /usr/bin/gcc /usr/bin/gcc.back.4.8.4
sudo mv /usr/bin/g++ /usr/bin/g++.back.4.8.4
build the new link, for me: sudo ln -s /your/install/path/gcc-5.3.0/bin/gcc /usr/bin/gcc
sudo ln -s /your/install/path/gcc-5.3.0/bin/g++ /usr/bin/g++
- install gcc on your computer
- "your computer needs to restart" when install Windows 8 on Virtualbox
- Install gcc on iOS
- Installing Applications on android from your computer
- install gcc 4.7 on openSUSE
- How to Install Android on Your PC
- Build a mediawiki site on your own computer
- 9 Signs You Should Use Linux on Your Computer
- Install gcc-5.3.0 on CentOS 7
- Some Notes on Windows 7 Professional Computer Install Linux Mint
- You must install 'makeinfo' on your build machine
- How to Install VirtualBox and Windows on your Mac
- You must install 'makeinfo' on your build machine
- You must install 'msgfmt' on your build machine
- You must install 'makeinfo' on your build machine
- How to Install Ubuntu Linux on your Dell PC
- How to install Windows on your Mac for free
- Turn+On+Your+PC/Computer–Wake+On+LAN+(+WOL+)+Over+Internet
- leetcode---Single Number---异或
- 交易咖---回调是为了更好的前进
- Oracle 闪回特性(FLASHBACK DATABASE)
- Minecraft源码分析(5) - 饱食度
- 小C语言--词法分析程序
- install gcc on your computer
- 9.29 集合set与映射map 之map
- 即时通讯相关资源汇总
- 学习笔记_错误、调试和测试
- 规范git的提交信息
- Draw Call是什么,怎么降低?
- 学习笔记_文档读写
- 学习笔记_StringIO和BytesIO
- 学习笔记_操作文件和目录