C:\Users\leander>clang --target=x86_64-unknown-linux-gnu --sysroot=Desktop\toolchain main.c -v
clang version 3.4 (trunk)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation: Desktop\toolchain/lib/gcc/x86_64-linux-gnu\4.7.3
Found candidate GCC installation: Desktop\toolchain/lib/gcc/x86_64-linux-gnu\4.8
Selected GCC installation: Desktop\toolchain/lib/gcc/x86_64-linux-gnu/4.8
"C:\Program Files (x86)\LLVM 3.4.svn\bin\clang.exe" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name main.c -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -v -resource-dir "C:\\Program Files (x86)\\LLVM 3.4.svn\\bin\\..\\lib\\clang\\3.4" -isysroot "Desktop\\toolchain" -internal-isystem "Desktop\\toolchain/usr/local/include" -internal-isystem "C:\\Program Files (x86)\\LLVM 3.4.svn\\bin\\..\\lib\\clang\\3.4\\include" -internal-externc-isystem "Desktop\\toolchain/include" -internal-externc-isystem "Desktop\\toolchain/usr/include" -fdebug-compilation-dir "C:\\Users\\leander" -ferror-limit 19 -fmessage-length 800 -mstackrealign -fobjc-runtime=gcc -fdiagnost
ics-show-option -fcolor-diagnostics -vectorize-slp -o "C:\\Users\\leander\\AppData\\Local\\Temp\\main-f2fbdb.o" -x c main.c
clang -cc1 version 3.4 based upon LLVM 3.4svn default target i686-pc-win32
ignoring nonexistent directory "Desktop\toolchain/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
C:\Program Files (x86)\LLVM 3.4.svn\bin\..\lib\clang\3.4\include
Desktop\toolchain/include
Desktop\toolchain/usr/include
End of search list.
"Desktop\toolchain/lib/gcc/x86_64-linux-gnu/4.8/../../../../x86_64-linux-gnu/bin\ld" "--sysroot=Desktop\\toolchain" --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out "Desktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8/../../..\\crt1.o" "Desktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8/../../..\\crti.o" "Desktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8\\crtbegin.o" "-LDesktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8" "-LDesktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib64" "-LDesktop\\toolchain/lib/../lib64" "-LDesktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8/../../../../x86_64-linux-gnu/lib" "-LDesktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8/../../.." "-LDesktop\\toolchain/lib" "C:\\Users\\leander\\AppData\\Local\\Temp\\main-f2fbdb.o" -lgcc --as-neede
d -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed "Desktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8\\crtend.o" "Desktop\\toolchain/lib/gcc/x86_64-linux-gnu/4.8/../../..\\crtn.o"
Stack dump:
0. Program arguments: clang --target=x86_64-unknown-linux-gnu --sysroot=Desktop\toolchain main.c -v
0x013EA681 (0x00000000 0x00000000 0x0000006D 0x0000006F)