I would suggest to do things in the "Linux way", which means for me, as less automatic configuration as possible. I would download the required toolchain from the distributor’s site, and set a .CC file in your project's working dir. Your CC file you should look about like this:
export PATH=< PATH-TO-TOOLCHAIN-BIN-FOLDER>:${PATH}
export CROSS_COMPILE=< TOOLCHAIN PREFIX i.e "arm-none-gnueabi-" (the last "-" is important)
export ARCH=< ARCHITECTURE>
After doing that, before running any compilation, issue "source .CC", and then compile as you do normally, i.e "gcc/g++/ld... ...". The compilation will automatically use the toolchain (you will see it in the output of the compilation, that the toolchain is being used)
A link that might help:
MBR on Wikipedia