Hi,
The am335x cross-compile toolchain is located in <SDK_dir>/linux-devkit/sysroots/i686-arago-linux/usr/bin/. The CC prefix is "arm-linux-gnueabihf-".
Read the README file that comes with the "cgminer" source code about cross-compiling the package.
Best regards,
Miroslav