Skip to content

Instantly share code, notes, and snippets.

@winksaville
Created September 5, 2016 21:03
Show Gist options
  • Select an option

  • Save winksaville/43a78bbf50964788f3e1ff5e82e8249b to your computer and use it in GitHub Desktop.

Select an option

Save winksaville/43a78bbf50964788f3e1ff5e82e8249b to your computer and use it in GitHub Desktop.
wink@wink-desktop:~/foss/zig (master)
$ rm -rf build
wink@wink-desktop:~/foss/zig (master)
$ mkdir build
wink@wink-desktop:~/foss/zig (master)
$ cd build
wink@wink-desktop:~/foss/zig/build
$ cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_LIB_DIR=$(dirname $(cc -print-file-name=crt1.o)) -DZIG_LIBC_INCLUDE_DIR=$(echo -n | cc -E -x c - -v 2>&1 | grep -B1 "End of search list." | head -n1 | cut -c 2-) -DZIG_LIBC_STATIC_LIB_DIR=$(dirname $(cc -print-file-name=crtbegin.o))
-- The CXX compiler identification is GNU 6.1.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Configuring zig version 0.0.0
-- Found LLVM: /usr/lib64/libLLVM.so;-lrt -ldl -lcurses -lpthread -lz -lm
-- Found CLANG: /usr/lib64/libclangFrontend.a;/usr/lib64/libclangDriver.a;/usr/lib64/libclangSerialization.a;/usr/lib64/libclangSema.a;/usr/lib64/libclangAnalysis.a;/usr/lib64/libclangAST.a;/usr/lib64/libclangParse.a;/usr/lib64/libclangSema.a;/usr/lib64/libclangBasic.a;/usr/lib64/libclangEdit.a;/usr/lib64/libclangLex.a
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wink/foss/zig/build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment