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を使用してsvnedしました:

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

何が問題なのですか?

4

1 に答える 1

1

問題は、すべてのソース ファイルを含むディレクトリを構築しようとしていたことです。ルート ディレクトリとは別のフォルダにビルドする必要がありました。

于 2010-07-25T19:39:12.713 に答える