[LLVMdev] using "ocamlc -where" to find ocaml c headers

Erick Tryzelaar erickt at dslextreme.com
Tue Oct 2 22:28:44 PDT 2007


I've got ocaml installed in a non-standard location, and while the svn 
version of llvm seems to detect my ocaml binaries, it doesn't seem add 
"ocamlc -where" to the c include search path. This causes 
bindings/ocaml/llvm/llvm_ocaml.c to error out unless I run "make 
CFLAGS=`ocamlc -where`". Any chance that this could be added?



More information about the llvm-dev mailing list