Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux GCC 5.1.0 compiler installation     - Depth understanding of the TCP protocol (Database)

- Java Graphics2D Paint (Programming)

- Installation salt-minion on RHEL5 (Linux)

- Java annotations entry automatically generates SQL statements (Programming)

- xCAT line installation on CentOS 6.X (Linux)

- UNIX file permissions in the "set user ID bit" (Linux)

- Oracle table Access Control (Database)

- Oracle Listener can not start (TNS-12555, TNS-12560, TNS-00525) (Database)

- AngularJS - Getting Started with Routing (Programming)

- Redis master-slave replication switch (Database)

- A brief introduction to some important Docker commands (Server)

- Java Network Programming Internet address lookup (Programming)

- Install Open vSwitch under CentOS 6.5 (Linux)

- Java regular expression syntax (Programming)

- Android Studio 1.0.2 set the memory size (Linux)

- Empty password Linux operating system (Linux)

- Writing Better Bash build script 8 (Programming)

- Java implementation chain store binary tree (Programming)

- iptables allow only specific ip address to access the specified port (Linux)

- Various sorting algorithms implemented in Python (Programming)

  Linux GCC 5.1.0 compiler installation
  Add Date : 2017-01-08      
  We write C / C ++ program naturally not lack a good compiler (GCC). In late April 2015, the GCC also to the 5.1.0 version, for C ++ 11/14 also has better support. Because a recent study OpenMP, Gcc-5.1.0 support OpenMP4.0 latest version. So, today we are concerned that the GCC compiler installation, the installation is the latest version of 5.1.0. Here we get into (the whole process of recommendation to the root user):

1. Download GCC source code:

- Wget ftp://mirrors.kernel.org/gnu/gcc/gcc-5.1.0/gcc-5.1.0.tar.gz2 decompression:

- Tar -zxvf gcc-5.1.0.tar.gz3 download dependencies required to compile:

  cd gcc-5.1.0 // gcc unpacked files into the folder
  ./contrib/download_prerequisites // download dependency
  cd .. // return to the upper directory 4. Set up the build output directory:

  Mkdir gcc-build-5.1.05 enter the output directory, execute the following command, and generates the makefile:

  cd gcc-build-5.1.0
  ../gcc-5.1.0/configure --enable-checking = release --enable-languages = c, c ++ --disable-multilib

2. Compile:

make -j4 next step is to wait for the whole process about 40 minutes. PS: best not to do it during the compilation process something else, the whole process CPU is fully loaded, if inexplicable cease, and also a lot of trouble later.

3. Install:

After the end of the compilation, we can perform the installation:

make install8 check the version:

gcc --version
Or gcc -vroot @ Ubuntu: ~ / Downloads /gcc-build-5.1.0$ gcc --version
gcc (GCC) 5.1.0
Copyright © 2015 Free Software Foundation, Inc.
This program is free software; see the source of the copyright notice. This software is no guarantee;
Including warranties of merchantability and no applicability under a special purpose.
- Virtual Judge environment to build and configure under Ubuntu (Server)
- Java heap (Heap) and stack difference (Programming)
- SSH port forwarding application (Server)
- Linux centralized log server rsyslog (Server)
- Reported too many open files Linux solutions (Server)
- Linux software firewall ACL match point optimization (Linux)
- Flask deploy applications using Nginx on Ubuntu (Server)
- The user of fedora is not in the sudoers file method to solve (Linux)
- GNU / Linux system, how to clean up memory space (Linux)
- Shell Programming points to note about the function (Programming)
- CentOS 7 How to connect to a wireless network (Linux)
- Nagios (centreon) monitoring Linux Log (Server)
- Shutdown - an advanced shutdown artifact (Linux)
- Restore Oracle Database Cold backup and database reconstruction emca (Database)
- CentOS boot image to achieve semi-automatic installation (Linux)
- JavaScript in this usage (Programming)
- In Debian 4.3 compiler under Linux-2.6.28 kernel Summary (Programming)
- CentOS 6.5 installation configuration DRBD (Server)
- OpenSSL: implementation creates a private CA, certificate signing request Explanation (Server)
- Oracle Client Easy Connection error ORA-12154, TNS-03505 (Database)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.