llvm.org GIT mirror llvm / d592e1a
Fix the ocaml kaleidoscope tutorial to fix linking external libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99151 91177308-0d34-0410-b5e6-96231b3b80d8 Erick Tryzelaar 9 years ago
4 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
820820 ocaml_lib ~extern:true "llvm_target";;
821821 ocaml_lib ~extern:true "llvm_scalar_opts";;
822822
823 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
823 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
824824 dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;
825825
826826
998998 ocaml_lib ~extern:true "llvm_target";;
999999 ocaml_lib ~extern:true "llvm_scalar_opts";;
10001000
1001 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
1001 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
10021002 dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;
10031003
10041004
55 ocaml_lib ~extern:true "llvm_target";;
66 ocaml_lib ~extern:true "llvm_scalar_opts";;
77
8 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
8 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
99 dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;
55 ocaml_lib ~extern:true "llvm_target";;
66 ocaml_lib ~extern:true "llvm_scalar_opts";;
77
8 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
8 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
99 dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;