Hi All,

Initially I was having problem compiling clang/llvm, then found some of the 
compilation error.

Now I can build it on freebsd 10.

But I need to have the coverage option on.  On Mac it is still there -

bash$ clang --coverage main.c  -###
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
 "/usr/bin/clang" "-cc1" "-triple" "x86_64-apple-macosx10.8.0" "-emit-obj" 
"-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-main-file-name" 
"main.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mdisable-fp-elim" 
"-masm-verbose" "-munwind-tables" "-target-cpu" "core2" 
"-target-linker-version" "236.3" "-femit-coverage-notes" "-femit-coverage-data" 
"-resource-dir" "/usr/bin/../lib/clang/5.1" "-fdebug-compilation-dir" 
"/fs/home/psinha/mystuff/pgms" "-ferror-limit" "19" "-fmessage-length" "80" 
"-stack-protector" "1" "-mstackrealign" "-fblocks" 
"-fobjc-runtime=macosx-10.8.0" "-fencode-extended-block-signature" 
"-fdiagnostics-show-option" "-fcolor-diagnostics" "-vectorize-slp" "-o" 
"/var/folders/65/gpz82csd1_s358m49000073r0001ry/T/main-746665.o" "-x" "c" 
"main.c"
 "/usr/bin/ld" "-demangle" "-dynamic" "-arch" "x86_64" "-macosx_version_min" 
"10.8.0" "-o" "a.out" 
"/var/folders/65/gpz82csd1_s358m49000073r0001ry/T/main-746665.o" 
"/usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.profile_osx.a" "-lSystem" 
"/usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a"

Thanks,
prokash
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to