Hello<div><br></div><div>I followed <a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a> and I did a checkout of llvm and it's tools. I am trying to enable arm support and therefore ran configure using the following option</div>
<div><br></div><div> ../llvm/configure --enable-targets x86,x86_64,arm but this does not work. It actually results is</div><div>checking build system type... Invalid configuration `x86,x86_64,arm': machine `x86,x86_64,arm' not recognized</div>
<div>configure: error: /bin/sh ../llvm/autoconf/config.sub x86,x86_64,arm failed</div><div><br></div><div>This is caused by configure parsing the "-target" part in  "--enable-targets" and trying to configure the "target" to be .x86,x86_64,arm this will not work</div>
<div>I am not sure how to fix this but I like to mention it so some autotools person can fix it<br></div><div><br></div><div>I worked around the issue by using some configure magic.</div><div><br></div><div><div>export enable_targets+set = ""</div>
<div>export enable_targets=x86,x86_64,arm</div><div>../llvm/configure </div></div><div><br></div><div>Greetings</div><div><br></div>