There are several toolchains you can use. You can try the one installed by LTIB, or the one compiled (yes, compiled) by Yocto. For the Yocto case, setup a Yocto system (there are many docs regarding this), then on the build folder thy these:
$ bitbake meta-toolchain
$ sh tmp/deploy/sdk/poky-eglibc-x86_64-arm-toolchain-1.4.1.sh
$ source /opt/poky/1.4.1/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi
$ arm-poky-linux-gnueabi-gcc -v
Now you can compile your hello world app.
https://community.freescale.com/docs/DOC-95122