You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just one more question, now with the real code, I was able to move
everything to myocamlbuild, but I'm getting a warning:
File "_tags", line 10, characters 12-28:
Warning: the tag "linkdep(stubs.o)" is not used in any flag
declaration, so it will have no effect; it may be a typo. Otherwise
use mark_tag_used in your myocamlbuild.ml to disable this warning.
build.sh
ocamlbuild -use-ocamlfind all.otarget $@
_tags line
<*.native>: linkdep(stubs.o)
myocamlbuild.ml
open Ocamlbuild_plugin;;
dispatch begin function
| After_rules ->
pflag ["ocaml";"compile";] "ppopt" (fun s -> S [A"-ppopt"; A s]);
pflag ["ocaml";"ocamldep";] "ppopt" (fun s -> S [A"-ppopt"; A s]);
pdep ["link"] "linkdep" (fun param -> [param])
| _ -> ()
end;;
Original bug ID: 6893
Reporter: @gasche
Assigned to: @gasche
Status: closed (set by @damiendoligez on 2015-06-05T19:37:53Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.1
Target version: 4.02.2+dev / +rc1
Fixed in version: 4.02.2+dev / +rc1
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Bug description
On the caml-list, Christiano Haesbaert reports:
https://sympa.inria.fr/sympa/arc/caml-list/2015-06/msg00039.html
File attachments
The text was updated successfully, but these errors were encountered: