I have installed G++ 4.8 with the C++11 standard.
Searching around the internet I found some flags that apparently should decrease compile time considerably. I have ended with this, it compiles fine but not sure if its entirely correct.
-std=c++0x -Ofast -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
I am no G++/C++ expert and was wondering if there is anything I should change with that to get better compile performance on the Pi 2 or if there are any caveats I have not run into yet by using these arguments.