![]() It said: configure:4364: x86_64-linux-gnu-gcc -o conftest -O2 -I/toolchain-llvm-out/prefix/include -DDISABLE_FUTIMENS -L/toolchain-llvm-out/prefix/lib -static-libstdc++ -static-libgcc -static conftest.c 1>&5 I read the config.log generated in toolchain-llvm-out/llvm. x86_64-linux-gnu-gccĬonfigure: error: installation or configuration problem: compiler cannot create executables. MingWĬhecking for executable suffix on build platform. MingWĬhecking type of operating system we're going to target. ![]() x86_64-pc-mingw32msvcĬhecking type of operating system we're going to host on. x86_64-pc-mingw32msvcĬhecking target system type. x86_64-pc-linux-gnuĬhecking host system type. x86_64-pc-mingw32msvc-gcc -EĬhecking whether GCC or Clang is our host compiler. noĬhecking how to run the C preprocessor. noĬhecking whether x86_64-pc-mingw32msvc-g++ accepts -g. x86_64-pc-mingw32msvc-g++Ĭhecking whether we are using the GNU C++ compiler. none neededĬhecking for x86_64-pc-mingw32msvc-clang++. yesĬhecking for x86_64-pc-mingw32msvc-gcc option to accept ISO C89. yesĬhecking whether x86_64-pc-mingw32msvc-gcc accepts -g. yesĬhecking for suffix of executables.exeĬhecking whether we are using the GNU C compiler. yesĬhecking whether we are cross compiling. a.exeĬhecking whether the C compiler works. x86_64-pc-mingw32msvc-gccĬhecking for C compiler default output file name. noĬhecking for x86_64-pc-mingw32msvc-gcc. # COMMAND: /media/sf_android-toolchain-src/llvm-3.5/llvm/configure -prefix=/home/yifan/toolchain-llvm-out/prefix -host=x86_64-pc-mingw32msvc -build=x86_64-linux-gnu -with-bug-report-url= -enable-targets=arm,mips,x86,aarch64 -enable-optimized -with-binutils-include=/media/sf_android-toolchain-src/binutils/binutils-2.25/includeĬhecking for x86_64-pc-mingw32msvc-clang. # COMMAND: cp -a /home/yifan/android-ndk-r10e/tests/abcc/jni/mman-win32/mman.c /home/yifan/android-ndk-r10e/tests/abcc/jni/mman-win32/mman.h /media/sf_android-toolchain-src/llvm-3.5/llvm/tools/ndk-bc2native # COMMAND: cp -a /home/yifan/android-ndk-r10e/tests/abcc/jni/llvm_35.h /media/sf_android-toolchain-src/llvm-3.5/llvm/tools/ndk-bc2native/llvm_version.h # COMMAND: cp -a /home/yifan/android-ndk-r10e/tests/abcc/jni/host/Abcc_host.h /media/sf_android-toolchain-src/llvm-3.5/llvm/tools/ndk-bc2native # COMMAND: cp -a /home/yifan/android-ndk-r10e/tests/abcc/jni/host/Abcc_host.cpp /home/yifan/android-ndk-r10e/tests/abcc/jni/host/main.cpp /media/sf_android-toolchain-src/llvm-3.5/llvm/tools/ndk-bc2native # COMMAND: cp -a /home/yifan/android-ndk-r10e/tests/abcc/jni/Abcc.h /media/sf_android-toolchain-src/llvm-3.5/llvm/tools/ndk-bc2native # COMMAND: cp -a /home/yifan/android-ndk-r10e/tests/abcc/jni/Abcc.cpp /media/sf_android-toolchain-src/llvm-3.5/llvm/tools/ndk-bc2native Using toolchain prefix: /home/yifan/android-ndk-r10e/toolchains/llvm-3.5/prebuilt/windows-x86_64/bin/ Using toolchain path: /home/yifan/android-ndk-r10e/toolchains/llvm-3.5/prebuilt/windows-x86_64 Using NDK directory: /home/yifan/android-ndk-r10e ![]() Using source directory: /media/sf_android-toolchain-src To follow build in another terminal, please use: tail -F /home/yifan/toolchain-llvm-out/config.log Using specific build directory: ~/toolchain-llvm-out Using mingw64 wrapper: /tmp/ndk-root/build/mingw64-wrapper/x86_64-pc-mingw32msvc-gcc Although we try to avoid bashism in scripts, things can happen. WARNING: The shell running this script isn't bash. I got the following error: Found mingw toolchain: /usr/bin/x86_64-w64-mingw32-gcc My command is: build-llvm.sh -verbose -build-out=~/toolchain-llvm-out -platform=android-14 -try-64 -j4 -mingw /media/sf_android-toolchain-src ~/android-ndk-r10e llvm-3.5 Then, I tried to run "build-llvm.sh" on Ubuntu64 with mingw64 installed. Make: *** No rule to make target `D:/cygdrive/d/g/android-toolchain/llvm-3.5/llvm/les'. Makefile:152: D:/cygdrive/d/g/android-toolchain/llvm-3.5/llvm/les: No such file or directory ERROR: Unsupported HOST_TAG: cygwin-x86_64Ģ. My command is: sh build-llvm.sh -verbose -build-out=/cygdrive/d/g//toolchain-llvm -platform=android-14 -try-64 -j4 /cygdrive/d/g/android-toolchain /cygdrive/p/android/android-ndk-r10e llvm-3.5ġ. I already downloaded the source code via "download-toolchain-sources.sh".įirstly, I tried to run "build-llvm.sh" in a cygwin64 bash on Windows-7-64bits OS. I am trying to build the NDK LLVM toolchain for Windows 64bits.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |