You might want to consider using a compiler generated by buildroot.
First of all, run make menuconfig
to create .config
file and then run make
. All new toolchain environment will be in buildroot_directory/output/host
.
You might add buildroot_directory/output/host/bin
to PATH