Skip to content

Instantly share code, notes, and snippets.

@itsmontoya
Last active March 27, 2018 20:28
Show Gist options
  • Save itsmontoya/56397df6bd97e13ce9df817f55e84d47 to your computer and use it in GitHub Desktop.
Save itsmontoya/56397df6bd97e13ce9df817f55e84d47 to your computer and use it in GitHub Desktop.
# 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- | sed "s/ .*//") -DZIG_LIBC_STATIC_LIB_DIR=$(dirname $(cc -print-file-name=crtbegin.o)) -DCMAKE_PREFIX_PATH=$HOME/local
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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.2.0.c0a69a50
-- Found LLVM: -lLLVMLTO;-lLLVMPasses;-lLLVMObjCARCOpts;-lLLVMMIRParser;-lLLVMSymbolize;-lLLVMDebugInfoPDB;-lLLVMDebugInfoDWARF;-lLLVMCoverage;-lLLVMTableGen;-lLLVMDlltoolDriver;-lLLVMOrcJIT;-lLLVMXCoreDisassembler;-lLLVMXCoreCodeGen;-lLLVMXCoreDesc;-lLLVMXCoreInfo;-lLLVMXCoreAsmPrinter;-lLLVMSystemZDisassembler;-lLLVMSystemZCodeGen;-lLLVMSystemZAsmParser;-lLLVMSystemZDesc;-lLLVMSystemZInfo;-lLLVMSystemZAsmPrinter;-lLLVMSparcDisassembler;-lLLVMSparcCodeGen;-lLLVMSparcAsmParser;-lLLVMSparcDesc;-lLLVMSparcInfo;-lLLVMSparcAsmPrinter;-lLLVMPowerPCDisassembler;-lLLVMPowerPCCodeGen;-lLLVMPowerPCAsmParser;-lLLVMPowerPCDesc;-lLLVMPowerPCInfo;-lLLVMPowerPCAsmPrinter;-lLLVMNVPTXCodeGen;-lLLVMNVPTXDesc;-lLLVMNVPTXInfo;-lLLVMNVPTXAsmPrinter;-lLLVMMSP430CodeGen;-lLLVMMSP430Desc;-lLLVMMSP430Info;-lLLVMMSP430AsmPrinter;-lLLVMMipsDisassembler;-lLLVMMipsCodeGen;-lLLVMMipsAsmParser;-lLLVMMipsDesc;-lLLVMMipsInfo;-lLLVMMipsAsmPrinter;-lLLVMLanaiDisassembler;-lLLVMLanaiCodeGen;-lLLVMLanaiAsmParser;-lLLVMLanaiDesc;-lLLVMLanaiAsmPrinter;-lLLVMLanaiInfo;-lLLVMHexagonDisassembler;-lLLVMHexagonCodeGen;-lLLVMHexagonAsmParser;-lLLVMHexagonDesc;-lLLVMHexagonInfo;-lLLVMBPFDisassembler;-lLLVMBPFCodeGen;-lLLVMBPFAsmParser;-lLLVMBPFDesc;-lLLVMBPFInfo;-lLLVMBPFAsmPrinter;-lLLVMARMDisassembler;-lLLVMARMCodeGen;-lLLVMARMAsmParser;-lLLVMARMDesc;-lLLVMARMInfo;-lLLVMARMAsmPrinter;-lLLVMARMUtils;-lLLVMAMDGPUDisassembler;-lLLVMAMDGPUCodeGen;-lLLVMAMDGPUAsmParser;-lLLVMAMDGPUDesc;-lLLVMAMDGPUInfo;-lLLVMAMDGPUAsmPrinter;-lLLVMAMDGPUUtils;-lLLVMAArch64Disassembler;-lLLVMAArch64CodeGen;-lLLVMAArch64AsmParser;-lLLVMAArch64Desc;-lLLVMAArch64Info;-lLLVMAArch64AsmPrinter;-lLLVMAArch64Utils;-lLLVMObjectYAML;-lLLVMLibDriver;-lLLVMOption;-lLLVMWindowsManifest;-lLLVMFuzzMutate;-lLLVMX86Disassembler;-lLLVMX86AsmParser;-lLLVMX86CodeGen;-lLLVMGlobalISel;-lLLVMSelectionDAG;-lLLVMAsmPrinter;-lLLVMDebugInfoCodeView;-lLLVMDebugInfoMSF;-lLLVMX86Desc;-lLLVMMCDisassembler;-lLLVMX86Info;-lLLVMX86AsmPrinter;-lLLVMX86Utils;-lLLVMMCJIT;-lLLVMLineEditor;-lLLVMInterpreter;-lLLVMExecutionEngine;-lLLVMRuntimeDyld;-lLLVMCodeGen;-lLLVMTarget;-lLLVMCoroutines;-lLLVMipo;-lLLVMInstrumentation;-lLLVMVectorize;-lLLVMScalarOpts;-lLLVMLinker;-lLLVMIRReader;-lLLVMAsmParser;-lLLVMInstCombine;-lLLVMTransformUtils;-lLLVMBitWriter;-lLLVMAnalysis;-lLLVMProfileData;-lLLVMObject;-lLLVMMCParser;-lLLVMMC;-lLLVMBitReader;-lLLVMCore;-lLLVMBinaryFormat;-lLLVMSupport;-lLLVMDemangle;-lz;-lrt;-ldl;-ltinfo;-lpthread;-lm
-- Found CLANG: /usr/lib/libclangFrontend.so;/usr/lib/libclangDriver.so;/usr/lib/libclangSerialization.so;/usr/lib/libclangSema.so;/usr/lib/libclangAnalysis.so;/usr/lib/libclangAST.so;/usr/lib/libclangParse.so;/usr/lib/libclangSema.so;/usr/lib/libclangBasic.so;/usr/lib/libclangEdit.so;/usr/lib/libclangLex.so
/usr/lib/libxml2.so found
/usr/lib/libz.so found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/zig/build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment