configure: error: Building in the source directory is not supported in this release

Discussion in 'iOS Development' started by mohitd2000, Jul 24, 2010.

  1. mohitd2000

    mohitd2000 Member

    Joined:
    Jul 6, 2009
    Messages:
    231
    Likes Received:
    0
    Device:
    3G iPod touch
    While I was compiling llvm-gcc-4.0-iphone, I got this error. Here is the output:
    Code:
    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.
    
  2. Freerunnering

    Freerunnering Member

    Joined:
    Sep 1, 2009
    Messages:
    296
    Likes Received:
    0
    Device:
    4G iPod touch
    Your trying to compile on linux rather then GCC on the device?
  3. mohitd2000

    mohitd2000 Member

    Joined:
    Jul 6, 2009
    Messages:
    231
    Likes Received:
    0
    Device:
    3G iPod touch
    Yes, I am compiling on Linux Ubuntu 10.04
  4. Freerunnering

    Freerunnering Member

    Joined:
    Sep 1, 2009
    Messages:
    296
    Likes Received:
    0
    Device:
    4G iPod touch
    Try compiling with gcc on the device, setup tutorial.
  5. mohitd2000

    mohitd2000 Member

    Joined:
    Jul 6, 2009
    Messages:
    231
    Likes Received:
    0
    Device:
    3G iPod touch
    Thanks! That worked great!

Share This Page