[cfe-dev] Failure cross-compiling llvm/clang

Abramo Bagnara abramo.bagnara at gmail.com
Wed Jun 29 10:55:10 PDT 2011


Il 29/06/2011 19:38, Abramo Bagnara ha scritto:
> 
> I'm trying without success to cross compile llvm/clang.
> 
> build arch is Ubuntu 10.04, target arch is mingw32
> 
> $ ./configure --host=i586-mingw32msvc
> ...
> configure: creating ./config.status
> config.status: creating Makefile.common
> config.status: executing setup commands
> config.status: executing Makefile commands
> config.status: executing lib/Makefile commands
> config.status: executing lib/sample/Makefile commands
> config.status: executing tools/Makefile commands
> config.status: executing tools/sample/Makefile commands
> $ make
> configure: error: Already configured in /space/home/abagnara/llvm_new
> make[1]: Entering directory `/space/home/abagnara/llvm_new/BuildTools'
> make[1]: *** No targets specified and no makefile found.  Stop.
> make[1]: Leaving directory `/space/home/abagnara/llvm_new/BuildTools'
> make: *** [cross-compile-build-tools] Error 1
> $
> 
> I'm missing something?
> 
> I attach generated config.log.

Luckily enough it seems that if I configure in a directory different
from source directory it works fine.



More information about the cfe-dev mailing list