Skip to content

Instantly share code, notes, and snippets.

@erickt
Created May 21, 2011 00:15
Show Gist options
  • Select an option

  • Save erickt/984051 to your computer and use it in GitHub Desktop.

Select an option

Save erickt/984051 to your computer and use it in GitHub Desktop.
$ CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure --disable-bindings --{build,host,target}=i686-apple-darwin --enable-targets=x86,x86_64,cbe --enable-optimized
$ make
$ make install
/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/Release+Asserts/bin/clang -no-integrated-as -ccc-install-dir /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ -arch armv6 -fvisibility=hidden -DVISIBILITY_HIDDEN -mkernel -DKERNEL_USE -Wall -Werror -O3 -fomit-frame-pointer -miphoneos-version-min=1.0 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -mthumb -c -o /Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/ashldi3.o /Users/erickt/Projects/llvm/llvm/projects/compiler-rt/lib/ashldi3.c
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
error: 1 error generated.
unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
1 error generated.
make[5]: *** [/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/adddf3.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/absvdi2.o] Error 1
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
error: 1unable error generated.
to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
1 error generated.
make[5]: *** [/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/addsf3.o] Error 1
make[5]: *** [/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/absvsi2.o] Error 1
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
1 error generated.
1 error generated.
make[5]: *** [/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/addvdi3.o] Error 1
make[5]: *** [/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/ashldi3.o] Error 1
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
1 error generated.
make[5]: *** [/Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/tools/clang/runtime/compiler-rt/clang_darwin/cc_kext/armv6/SubDir.lib/addvsi3.o] Error 1
make[4]: *** [BuildRuntimeLibraries] Error 2
rm /Users/erickt/Projects/llvm/gcc-i386/llvm-build-Release/Release+Asserts/lib/clang/3.0/lib/darwin/.dir
make[3]: *** [compiler-rt/.makeall] Error 2
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment