2010-07-24 20 views
1

Je suis en train de construire le toolchain iPhone sous Ubuntu 10.04 et je rencontré une erreur:configure: Erreur: construction dans le répertoire source n'est pas pris en charge dans cette version

[email protected]:~/Documents/toolchain/iphone-dev/llvm-gcc-4.0-iphone$ ./configure  --enable-llvm=`llvm-config --obj-root` --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions --with-heavenly=/usr/share/iphone-filesystem --with-as=/usr/local/bin/arm-apple-darwin-as --with-ld=/usr/local/bin/arm-apple-darwin-ld --enable-wchar_t=no 
checking build system type... i686-pc-linux-gnu 
checking host system type... i686-pc-linux-gnu 
checking target system type... arm-apple-darwin 
checking for a BSD-compatible install... /usr/bin/install -c 
checking whether ln works... yes 
checking whether ln -s works... yes 
configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details. 

Qu'est-ce que cela signifie par Building in the source directory is not supported in this release.? J'ai svg llvm-gcc-4.0-iphone en utilisant:

svn checkout http://iphone-dev.googlecode.com/svn/trunk/ iphone-dev 

Quel pourrait être le problème?

Répondre

1

Le problème est que j'essayais de construire le répertoire avec tous les fichiers source. Il a dû être construit dans un autre dossier différent du répertoire racine.