[LLVMdev] build failure: ocamlopt: unknown option `-g'
gordonhenriksen at mac.com
Tue Dec 25 00:41:30 PST 2007
DOn 2007-12-24, at 01:29, Ted Kremenek wrote:
> I am at revision 45341, and I am getting a build failure on Leopard
> involving an unknown option to the ocaml compiler:
> llvm: 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
> (kremenek at tedbook:llvm)$ ocamlopt -version
Ah, -g to ocamlopt this looks like a new flag for 3.10. I usually
cross-check with 3.06 on a spare machine, but minitowers don't travel
so well. :) Fixed here:
More information about the llvm-dev