[LLVMdev] build failure: ocamlopt: unknown option `-g'

Ted Kremenek kremenek at apple.com
Mon Dec 24 00:29:18 PST 2007


I am at revision 45341, and I am getting a build failure on Leopard  
involving an unknown option to the ocaml compiler:

llvm[3]: Compiling optimized llvm.ml for Debug build
/opt/fink/bin/ocamlopt: unknown option `-g'.
Usage: ocamlopt <options> <files>
...


My ocaml binaries are compiled from source using fink:

(kremenek at tedbook:llvm)$ which ocamlopt
/opt/fink/bin/ocamlopt
(kremenek at tedbook:llvm)$ ocamlopt -version
3.09.3






More information about the llvm-dev mailing list