wszqkzqk

Untitled

Jan 4th, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | Software | 0 0
  1. Usage: ocamldep <options> <files>
  2. Options are:
  3.  
  4. -absname Show absolute filenames in error messages
  5. -no-absname Do not try to show absolute filenames in error messages (default)
  6. -all Generate dependencies on all files
  7. -allow-approx Fallback to a lexer-based approximation on unparsable files
  8. -as-map Omit delayed dependencies for module aliases (-no-alias-deps -w -49)
  9. -debug-map Dump the delayed dependency map for each map file
  10. -I <dir> Add <dir> to the list of include directories
  11. -H <dir> Add <dir> to the list of include directories
  12. -nocwd Do not add current working directory to the list of include directories
  13. -impl <f> Process <f> as a .ml file
  14. -intf <f> Process <f> as a .mli file
  15. -map <f> Read <f> and propagate delayed dependencies to following files
  16. -ml-synonym <e> Consider <e> as a synonym of the .ml extension
  17. -mli-synonym <e> Consider <e> as a synonym of the .mli extension
  18. -modules Print module dependencies in raw form (not suitable for make)
  19. -native Generate dependencies for native-code only (no .cmo files)
  20. -bytecode Generate dependencies for bytecode-code only (no .cmx files)
  21. -one-line Output one line per file, regardless of the length
  22. -open <module> Opens the module <module> before typing
  23. -plugin <plugin> (no longer supported)
  24. -pp <cmd> Pipe sources through preprocessor <cmd>
  25. -ppx <cmd> Pipe abstract syntax trees through preprocessor <cmd>
  26. -shared Generate dependencies for native plugin files (.cmxs targets)
  27. -slash (Windows) Use forward slash / instead of backslash \ in file paths
  28. -no-slash (Windows) Preserve any backslash \ in file paths
  29. -sort Sort files according to their dependencies
  30. -version Print version and exit
  31. -vnum Print version number and exit
  32. -args <file> Read additional newline separated command line arguments
  33. from <file>
  34. -args0 <file> Read additional NUL separated command line arguments from
  35. <file>
  36. -help Display this list of options
  37. --help Display this list of options
  38. + ocamlfind ocamldep -modules src/astring_unsafe.ml > src/astring_unsafe.ml.depends
  39. + ocamlfind ocamldep -modules src/astring_base.ml > src/astring_base.ml.depends
  40. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring_unsafe.cmo src/astring_unsafe.ml
  41. + ocamlfind ocamldep -modules src/astring_escape.ml > src/astring_escape.ml.depends
  42. + ocamlfind ocamldep -modules src/astring_char.ml > src/astring_char.ml.depends
  43. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring_escape.cmo src/astring_escape.ml
  44. + ocamlfind ocamldep -modules src/astring_sub.ml > src/astring_sub.ml.depends
  45. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring_base.cmo src/astring_base.ml
  46. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring_char.cmo src/astring_char.ml
  47. + ocamlfind ocamldep -modules src/astring_string.ml > src/astring_string.ml.depends
  48. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring_sub.cmo src/astring_sub.ml
  49. + ocamlfind ocamldep -modules src/astring.mli > src/astring.mli.depends
  50. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring.cmi src/astring.mli
  51. + ocamlfind ocamldep -modules src/astring.ml > src/astring.ml.depends
  52. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring_string.cmo src/astring_string.ml
  53. + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -o src/astring.cmo src/astring.ml
  54. + ocamlfind ocamlc -a -I src src/astring_unsafe.cmo src/astring_base.cmo src/astring_escape.cmo src/astring_char.cmo src/astring_sub.cmo src/astring_string.cmo src/astring.cmo -o src/astring.cma
  55. + ocamlfind ocamldep -package compiler-libs.toplevel -modules src/astring_top.ml > src/astring_top.ml.depends
  56. + ocamlfind ocamldep -package compiler-libs.toplevel -modules src/astring_top.ml > src/astring_top.ml.depends
  57. ocamldep: unknown option '-package'.
  58. Usage: ocamldep <options> <files>
  59. Try 'ocamldep --help' for more information.
  60. Command exited with code 2.
  61. pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug'
  62. '-build-dir' '_build' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md'
  63. 'README.md' 'src/astring.cma' 'src/astring.cmi' 'src/astring.mli'
  64. 'src/astring_top.cma' 'src/astring_top_init.ml' 'test/examples.ml']: exited with 10
  65. ==> ERROR: A failure occurred in build().
  66. Aborting...
  67.  
Advertisement
Add Comment
Please, Sign In to add comment