cross compiling with llvm/clang

Hi,

I want to cross compile with clang/llvm on an x86 host to generate sparcv9 binaries. I found that llc has an march option, but it does not seem to work because I am missing the correct headers. Can anyone point me in the right direction as to how to get clang/llvm to cross compile?

Thanks,
Tarun