Skip to content

Instantly share code, notes, and snippets.

@mcclure
Created July 19, 2015 19:50
Show Gist options
  • Save mcclure/de895f39a443ff8828a4 to your computer and use it in GitHub Desktop.
Save mcclure/de895f39a443ff8828a4 to your computer and use it in GitHub Desktop.
andis-macbook:emily mcc$ make BUILD_VERBOSE=1
ocamlbuild -no-links -use-ocamlfind -classic-display -lflag -verbose src/main.native.o src/cApi.o src/cStart.o src/cHelper.o
File "src/_tags", line 3, characters 18-27:
Warning: the tag "use_cpart" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
ocamlfind ocamldep -package 'ctypes, ctypes.foreign' -modules src/main.ml > src/main.ml.depends
ocamlfind ocamlc -c -safe-string -package 'ctypes, ctypes.foreign' -I src -o src/main.cmo src/main.ml
ocamlfind ocamlopt -c -safe-string -package 'ctypes, ctypes.foreign' -I src -o src/main.cmx src/main.ml
ocamlfind ocamlopt -verbose -linkpkg -linkpkg -output-obj -package 'ctypes, ctypes.foreign' src/main.cmx -o src/main.native.o
+ ocamlfind ocamlopt -verbose -linkpkg -linkpkg -output-obj -package 'ctypes, ctypes.foreign' src/main.cmx -o src/main.native.o
Effective set of compiler predicates: pkg_unix,pkg_bigarray,pkg_str,pkg_bytes,pkg_ctypes,pkg_ctypes.foreign.base,pkg_ctypes.foreign.unthreaded,pkg_ctypes.foreign,autolink,native
+ ocamlopt.opt -verbose -output-obj -o src/main.native.o -I /Users/mcc/.opam/4.02.2/lib/bytes -I /Users/mcc/.opam/4.02.2/lib/ctypes /Users/mcc/.opam/4.02.2/lib/ocaml/unix.cmxa /Users/mcc/.opam/4.02.2/lib/ocaml/bigarray.cmxa /Users/mcc/.opam/4.02.2/lib/ocaml/str.cmxa /Users/mcc/.opam/4.02.2/lib/ctypes/ctypes.cmxa /Users/mcc/.opam/4.02.2/lib/ctypes/ctypes-foreign-base.cmxa /Users/mcc/.opam/4.02.2/lib/ctypes/ctypes-foreign-unthreaded.cmxa src/main.cmx
+ clang -arch x86_64 -c -o '/var/folders/JH/JHsNq1BdGruXzXBsh0vYYE+++TI/-Tmp-/camlstartup4dcfc5.o' '/var/folders/JH/JHsNq1BdGruXzXBsh0vYYE+++TI/-Tmp-/camlstartup5e8691.s'
+ ld -r -arch x86_64 -o 'src/main.native.o' '-L/Users/mcc/.opam/4.02.2/lib/bytes' '-L/Users/mcc/.opam/4.02.2/lib/ctypes' '-L/Users/mcc/.opam/4.02.2/lib/ocaml' '/var/folders/JH/JHsNq1BdGruXzXBsh0vYYE+++TI/-Tmp-/camlstartup4dcfc5.o' 'src/main.o' '/Users/mcc/.opam/4.02.2/lib/ctypes/ctypes-foreign-unthreaded.a' '/Users/mcc/.opam/4.02.2/lib/ctypes/ctypes-foreign-base.a' '/Users/mcc/.opam/4.02.2/lib/ctypes/ctypes.a' '/Users/mcc/.opam/4.02.2/lib/ocaml/str.a' '/Users/mcc/.opam/4.02.2/lib/ocaml/bigarray.a' '/Users/mcc/.opam/4.02.2/lib/ocaml/unix.a' '/Users/mcc/.opam/4.02.2/lib/ocaml/stdlib.a'
ocamlfind ocamlc -c src/cApi.c
mv cApi.o src/cApi.o
ocamlfind ocamlc -c src/cStart.c
mv cStart.o src/cStart.o
ocamlfind ocamlc -c src/cHelper.c
mv cHelper.o src/cHelper.o
ocamlbuild -no-links -use-ocamlfind -classic-display -lflag -verbose src/main.native.o src/cApi.o src/cStart.o src/cHelper.o
File "src/_tags", line 3, characters 18-27:
Warning: the tag "use_cpart" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
ocamlbuild -no-links -use-ocamlfind -classic-display -lflag -verbose src/main.native.o src/cApi.o src/cStart.o src/cHelper.o
File "src/_tags", line 3, characters 18-27:
Warning: the tag "use_cpart" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
ocamlbuild -no-links -use-ocamlfind -classic-display -lflag -verbose src/main.native.o src/cApi.o src/cStart.o src/cHelper.o
File "src/_tags", line 3, characters 18-27:
Warning: the tag "use_cpart" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning.
mkdir -p install/lib
ar rsv install/lib/libemily_static.a _build/src/main.native.o _build/src/cApi.o _build/src/cStart.o _build/src/cHelper.o
ar: creating archive install/lib/libemily_static.a
a - _build/src/main.native.o
a - _build/src/cApi.o
a - _build/src/cStart.o
a - _build/src/cHelper.o
true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment