Bash script to install gcc-4.9.2 with boost 1.57 on CentOS 5.x, CentOS 6.x and Mac OS X

This week I created a script to install the gcc-4.9.3 compiler and linker with boost 1.5.7. A very simple Makefile is also available. Both files are based on scripts I have created for earlier versions of the compiler. This version also includes tcmalloc for linux platforms.

This script is also available on github:
https://github.com/jlinoff/gcc-4.9.2-boost-1.57
To use it just download bld.sh and Makefile and type “make” as shown below:

At this point the compiler is installed and you can use it as follows:

Enjoy!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.