<div dir="ltr">I'm trying to build llvm 3.7 at HP-UX ia64 11.31<div><br></div><div>I installed gcc4.7.1, python, and gmake with depot package</div><div><br></div><div>I followed instruction documented at <a href="http://llvm.org/releases/3.7.0/docs/BuildingLLVMWithAutotools.html">http://llvm.org/releases/3.7.0/docs/BuildingLLVMWithAutotools.html</a></div><div><br></div><div>I succeeded following command:</div><div>$ ../llvm/configure</div><div><u><br></u></div><div>After that I used following command:</div><div>$ CFLAGS=-fpermissive gmake</div><div><br></div><div>With above command I got an error. Following is some part of the error:</div><div>...</div><div>In file included from ...</div><div>llvm/include/Support/Host.h : fatal error : machine/endian.h No such file or directory</div><div><br></div><div>However machine/endian.h doesn't exist at HP-UX. But my linux machine has that file.</div><div><br></div><div>Is there anybody who succeeded building llvm at HP-UX?<br></div><div>Should I write a code that has the same meaning as machine/endian.h?</div><div>Or is there any alternative header file?</div><div>Or can I get some other suggestions?</div><div><br></div><div>Thanks,</div><div>Jemin Kim</div></div>