[LLVMdev] Trying to compile llvm-gcc to mips

Julio julio.martin.hidalgo at gmail.com
Sun Jul 6 09:58:54 PDT 2008


Hello, I'm trying to compile llvm-gcc to crosscompile mips. I have already
modified a config.gcc to add mips as a target with llvm, but it gives me
"Did not get a target machine!" (from llvm-backend.cpp).

I thought that I had to modify TargetMachOWriterInfo.h with MIPS info, but
now the problem is that I don't know where can I get the <mach/machine.h> (I
don't have it in /usr/include).

Any suggestions?

Thanks for helping a noob ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080706/22fa3164/attachment.html>


More information about the llvm-dev mailing list