Antique-team / clangml

OCaml bindings for clang
Other
24 stars 6 forks source link

doesn't compile on freebsd #61

Open UnixJunkie opened 8 years ago

UnixJunkie commented 8 years ago

Looks like some clang/llvm header files are not the same than on Linux

UnixJunkie commented 8 years ago

this is the same error than on osx

UnixJunkie commented 8 years ago

now it compiles; but the command in api.ml is wrong:

clang-3.8 -fsyntax-only -Xclang -load -Xclang _build/clangml.dylib -Xclang -analyze -Xclang -analyzer-checker=external.OCaml ~/src/memcad/bench/rt/queue.c

works on Linux but not on freebsd. I need to figure it out.