[cfe-dev] configure --enable-targets conflicts with the configure -target (SVN r152999)

Lubos Lunak l.lunak at suse.cz
Mon Mar 19 09:20:46 PDT 2012


On Monday 19 of March 2012, Kees Jongenburger wrote:
> Hello
>
> I followed http://clang.llvm.org/get_started.html 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
>
>  ../llvm/configure --enable-targets x86,x86_64,arm but this does not work.
> It actually results is
> checking build system type... Invalid configuration `x86,x86_64,arm':
> machine `x86,x86_64,arm' not recognized
> configure: error: /bin/sh ../llvm/autoconf/config.sub x86,x86_64,arm failed
>
> 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

 I think it is actually caused by you forgetting = 
in --enable-targets=x86,x86_64,arm .

-- 
 Lubos Lunak
 l.lunak at suse.cz



More information about the cfe-dev mailing list