Skip to content

Instantly share code, notes, and snippets.

@Kakadu
Created November 18, 2015 00:01
Show Gist options
  • Save Kakadu/aa747c54eb6d3ef39551 to your computer and use it in GitHub Desktop.
Save Kakadu/aa747c54eb6d3ef39551 to your computer and use it in GitHub Desktop.
Js_of_ocaml toplevel compilation log
➜ toplevel git:(toplevel-experiment) ✗ make clean all
rm -f *.cm[io] *.byte *.native *.js
ocamlfind ocamlc -c -package js_of_ocaml,js_of_ocaml.tyxml colorize.mli
cppo -D ocpindent -D higlo -D graphics colorize.cppo.ml -o colorize.ml
ocamlfind ocamlc -c -syntax camlp4o -package bytes \
-package js_of_ocaml.syntax,lwt,js_of_ocaml.tyxml,js_of_ocaml.toplevel \
-package base64 \
-I camlp4 \
-package ocp-indent.lib -package higlo.ocaml -rectypes \
colorize.ml -c colorize.cmo
ocamlfind ocamlc -c -package js_of_ocaml,js_of_ocaml.tyxml indent.mli
cppo -D ocpindent -D higlo -D graphics indent.cppo.ml -o indent.ml
ocamlfind ocamlc -c -syntax camlp4o -package bytes \
-package js_of_ocaml.syntax,lwt,js_of_ocaml.tyxml,js_of_ocaml.toplevel \
-package base64 \
-I camlp4 \
-package ocp-indent.lib -package higlo.ocaml -rectypes \
indent.ml -c indent.cmo
cppo -D ocpindent -D higlo -D graphics toplevel.cppo.ml -o toplevel.ml
ocamlfind ocamlc -c -syntax camlp4o -package bytes \
-package js_of_ocaml.syntax,lwt,js_of_ocaml.tyxml,js_of_ocaml.toplevel \
-package base64 \
-I camlp4 \
-package ocp-indent.lib -package higlo.ocaml -rectypes \
toplevel.ml -c toplevel.cmo
ocamlfind ocamlc -c -syntax camlp4o -package bytes \
-package js_of_ocaml.syntax,lwt,js_of_ocaml.tyxml,js_of_ocaml.toplevel \
-package base64 \
-I camlp4 \
-package ocp-indent.lib -package higlo.ocaml -rectypes \
test_dynlink.ml -c test_dynlink.cmo
jsoo_mktop -package bytes -top-syntax lwt.syntax -top-syntax js_of_ocaml.syntax -dont-export-unit gc -jsopt "--pretty --disable shortvar" -export-package lwt -export-package bigarray -export-package tyxml.functor -export-package react -export-package reactiveData -export-package js_of_ocaml -export-package js_of_ocaml.tyxml -export-package js_of_ocaml.toplevel -export-package dynlink -export-package graphics -export-package js_of_ocaml.graphics -export-package ostap -export-package yojson -export-unit html5_types -export-unit html5_sigs -export-unit xml_wrap \
\
-package ostap -rectypes -package ostap \
-package ocp-indent.lib -package higlo.ocaml -rectypes \
colorize.cmo indent.cmo toplevel.cmo \
-jsopt +weak.js -jsopt +toplevel.js -jsopt +dynlink.js -jsopt +nat.js -jsopt +graphics.js \
-jsopt -I -jsopt ./ -jsopt --file -jsopt examples.ml \
-jsopt -I -jsopt ./ -jsopt --file -jsopt test_dynlink.cmo \
-package base64 \
-o toplevel.byte
Not_found: Dynlinkaux in /home/kakadu/.opam/4.01.0/lib/ocaml
Not_found: Dynlinkaux in /home/kakadu/.opam/4.01.0/lib/ocaml
File "/home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlinkaux)", line 1:
Warning 31: files /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlinkaux) and /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlinkaux) both define a module named Dynlinkaux
File "/home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlink)", line 1:
Warning 31: files /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlink) and /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlink) both define a module named Dynlink
There are some missing primitives
Dummy implementations (raising 'Failure' exception) will be used if they are not available at runtime.
You can prevent the generation of dummy implementations with the commandline option '--disable genprim'
Missing primitives:
caml_gr_close_subwindow
caml_gr_open_subwindow
caml_gr_window_id
re_replacement_text
re_search_forward
re_string_match
ocamlfind ocamlc -c -syntax camlp4o -package bytes \
-package js_of_ocaml.syntax,lwt,js_of_ocaml.tyxml,js_of_ocaml.toplevel \
-package base64 \
-I camlp4 \
-package ocp-indent.lib -package higlo.ocaml -rectypes \
eval.ml -c eval.cmo
jsoo_mktop -package bytes -top-syntax lwt.syntax -top-syntax js_of_ocaml.syntax -dont-export-unit gc -jsopt "--pretty --disable shortvar" -export-package lwt -export-package bigarray -export-package tyxml.functor -export-package react -export-package reactiveData -export-package js_of_ocaml -export-package js_of_ocaml.tyxml -export-package js_of_ocaml.toplevel -export-package dynlink -export-package graphics -export-package js_of_ocaml.graphics -export-package ostap -export-package yojson -export-unit html5_types -export-unit html5_sigs -export-unit xml_wrap eval.cmo \
-jsopt +weak.js -jsopt +toplevel.js -jsopt +dynlink.js -jsopt +nat.js -jsopt +graphics.js \
-o eval.byte
Not_found: Dynlinkaux in /home/kakadu/.opam/4.01.0/lib/ocaml
Not_found: Dynlinkaux in /home/kakadu/.opam/4.01.0/lib/ocaml
File "/home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlinkaux)", line 1:
Warning 31: files /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlinkaux) and /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlinkaux) both define a module named Dynlinkaux
File "/home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlink)", line 1:
Warning 31: files /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlink) and /home/kakadu/.opam/4.01.0/lib/ocaml/dynlink.cma(Dynlink) both define a module named Dynlink
There are some missing primitives
Dummy implementations (raising 'Failure' exception) will be used if they are not available at runtime.
You can prevent the generation of dummy implementations with the commandline option '--disable genprim'
Missing primitives:
caml_gr_close_subwindow
caml_gr_open_subwindow
caml_gr_window_id
re_replacement_text
re_search_forward
re_string_match
rm colorize.ml toplevel.ml indent.ml
➜ toplevel git:(toplevel-experiment) ✗ git log -n2|cat
commit b7bc138d2ca292a64a19919ac2431437d7e7e95a
Author: kakadu <[email protected]>
Date: Wed Nov 18 00:47:13 2015 +0300
Adding some packages to the toplevel
commit 21a924bca6de64714487008193d7dc6c83301614
Author: Hugo Heuzard <[email protected]>
Date: Thu Jul 23 22:02:49 2015 +0100
bump version
➜ toplevel git:(toplevel-experiment) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment