-
Notifications
You must be signed in to change notification settings - Fork 6
It is good to share
https://dl.dropboxusercontent.com/u/3067678/emscripten-site/docs/getting_started/downloads.html
ubuntu@ubuntu:~/EmscriptenPortableSDK$ ./emsdk list
checking for sigsetjmp... no checking for siglongjmp... yes checking for writev... yes checking if printf has the %a format character... yes checking for srand48/lrand48/drand48 in <stdlib.h>... yes checking whether strerror_s is declared... no checking for isnan in <math.h>... yes checking for isnan in ... yes checking for std::isnan in ... yes checking for isinf in <math.h>... yes checking for isinf in ... yes checking for std::isinf in ... yes checking for finite in <ieeefp.h>... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for mmap of files... yes checking if /dev/zero is needed for mmap... no checking for GCC atomic builtins... yes checking for 32-bit userspace on 64-bit system... no checking for __dso_handle... yes checking for compiler -fvisibility-inlines-hidden option... yes configure: creating ./config.status config.status: creating Makefile.common config.status: creating Makefile.llvm.config config.status: executing setup commands config.status: executing Makefile commands config.status: executing lib/Makefile commands config.status: executing lib/sample/Makefile commands config.status: executing tools/Makefile commands config.status: executing tools/sample/Makefile commands ubuntu@ubuntu:~/a_stuff/Emscripten/emscripten-fastcomp/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -DCLANG_INCLUDE_EXAMPLES=OFF -DCLANG_INCLUDE_TESTS=OFF -- Warning: LLVM will be built thread-unsafe because atomic builtins are missing -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) -- Target triple: x86_64-unknown-linux-gnu -- Native target architecture is X86 -- Threads enabled. CMake Warning at cmake/modules/HandleLLVMOptions.cmake:73 (message): -fPIC is not supported. Call Stack (most recent call first): cmake/modules/HandleLLVMOptions.cmake:106 (add_flag_or_print_warning) CMakeLists.txt:250 (include)
-- Constructing LLVMBuild project information -- Targeting X86 -- Targeting JSBackend -- Configuring done -- Generating done -- Build files have been written to: /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/build ubuntu@ubuntu:~/a_stuff/Emscripten/emscripten-fastcomp/build$ make -j 2 Scanning dependencies of target LLVMHello Scanning dependencies of target LLVMSupport [ 1%] Building CXX object lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o In file included from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/Support/Atomic.h:17:0, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/Statistic.h:29, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/lib/Transforms/Hello/Hello.cpp:16: /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/build/include/llvm/Support/DataTypes.h:78:3: error: #error "Don't have a definition for uint64_t on this platform"
^ [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o In file included from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/Support/SwapByteOrder.h:18:0, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/Support/MathExtras.h:17, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/SmallVector.h:19, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/ArrayRef.h:14, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/APInt.h:18, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/APFloat.h:104, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/lib/Support/APFloat.cpp:15: /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/build/include/llvm/Support/DataTypes.h:78:3: error: #error "Don't have a definition for uint64_t on this platform"
^ make[2]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/Hello.cpp.o] Error 1 make[1]: *** [lib/Transforms/Hello/CMakeFiles/LLVMHello.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o In file included from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/Support/SwapByteOrder.h:18:0, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/Support/MathExtras.h:17, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/SmallVector.h:19, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/ArrayRef.h:14, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/include/llvm/ADT/APInt.h:18, from /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/lib/Support/APInt.cpp:16: /home/ubuntu/a_stuff/Emscripten/emscripten-fastcomp/build/include/llvm/Support/DataTypes.h:78:3: error: #error "Don't have a definition for uint64_t on this platform"
^ make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o] Error 1 make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2 make: *** [all] Error 2