1

我正在尝试在 Ubuntu 10.04 下构建 iPhone 工具链,但遇到了错误:

mohit@mohit-laptop:~/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.

这是什么意思Building in the source directory is not supported in this release.?我使用以下方法支持 llvm-gcc-4.0-iphone:

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

可能是什么问题呢?

4

1 回答 1

1

问题是我试图用所有源文件构建目录。它必须构建在与根目录不同的另一个文件夹中。

于 2010-07-25T19:39:12.713 回答