Skip to content

Instantly share code, notes, and snippets.

@aurimasniekis
Created November 6, 2017 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aurimasniekis/ead11e0f4dd70896d66bc96c8f097829 to your computer and use it in GitHub Desktop.
Save aurimasniekis/ead11e0f4dd70896d66bc96c8f097829 to your computer and use it in GitHub Desktop.
output # => ["clang version 5.0.0 (tags/RELEASE_500/final)",
"Target: x86_64-apple-darwin16.6.0",
"Thread model: posix",
"InstalledDir: /usr/local/Cellar/llvm/5.0.0/bin",
" \"/usr/local/Cellar/llvm/5.0.0/bin/clang-5.0\" \"-cc1\" \"-triple\" \"x86_64-apple-macosx10.12.0\" \"-Wdeprecated-objc-isa-usage\" \"-Werror=deprecated-objc-isa-usage\" \"-emit-obj\" \"-mrelax-all\" \"-disable-free\" \"-disable-llvm-verifier\" \"-discard-value-names\" \"-main-file-name\" \"bindgen.cpp\" \"-mrelocation-model\" \"pic\" \"-pic-level\" \"2\" \"-mthread-model\" \"posix\" \"-mdisable-fp-elim\" \"-masm-verbose\" \"-munwind-tables\" \"-faligned-alloc-unavailable\" \"-target-cpu\" \"penryn\" \"-target-linker-version\" \"278.4\" \"-dwarf-column-info\" \"-debugger-tuning=lldb\" \"-resource-dir\" \"/usr/local/Cellar/llvm/5.0.0/lib/clang/5.0.0\" \"-stdlib=libc++\" \"-fdeprecated-macro\" \"-fdebug-compilation-dir\" \"/Users/aniekis/Projects/Home/Desktop/C++/bindgen/clang\" \"-ferror-limit\" \"19\" \"-fmessage-length\" \"0\" \"-stack-protector\" \"1\" \"-fblocks\" \"-fobjc-runtime=macosx-10.12.0\" \"-fencode-extended-block-signature\" \"-fcxx-exceptions\" \"-fexceptions\" \"-fmax-type-align=16\" \"-fdiagnostics-show-option\" \"-o\" \"/var/folders/80/ydxh8rvx4ld2c6ckbr397d340000gn/T/bindgen-0ee887.o\" \"-x\" \"c++\" \"/Users/aniekis/Projects/Home/Desktop/C++/bindgen/clang/src/bindgen.cpp\"",
" \"/usr/bin/ld\" \"-demangle\" \"-lto_library\" \"/usr/local/Cellar/llvm/5.0.0/lib/libLTO.dylib\" \"-no_deduplicate\" \"-dynamic\" \"-arch\" \"x86_64\" \"-macosx_version_min\" \"10.12.0\" \"-o\" \"a.out\" \"/var/folders/80/ydxh8rvx4ld2c6ckbr397d340000gn/T/bindgen-0ee887.o\" \"-lc++\" \"-lSystem\" \"/usr/local/Cellar/llvm/5.0.0/lib/clang/5.0.0/lib/darwin/libclang_rt.osx.a\""]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment