Erick Tryzelaar
2007-Oct-03 05:28 UTC
[LLVMdev] using "ocamlc -where" to find ocaml c headers
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?
Gordon Henriksen
2007-Oct-04 00:17 UTC
[LLVMdev] using "ocamlc -where" to find ocaml c headers
On Oct 3, 2007, at 01:28, Erick Tryzelaar wrote:> 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?Erick, Please try after this commit. http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of- Mon-20071001/054221.html — Gordon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071003/5c66c30b/attachment.html>
Reasonably Related Threads
- [LLVMdev] using "ocamlc -where" to find ocaml c headers
- [LLVMdev] [PATCH] Cleanup the c and ocaml binding documentation.
- [LLVMdev] [PATCH] Make sure ocamldep runs on all .mli files.
- [LLVMdev] [PATCH] Prefer to use *.opt ocaml executables as they are more efficient.
- [LLVMdev] [PATCH] Cleanup the c and ocaml binding documentation.