Showing with 19 additions and 0 deletions.
  1. +18 −0 compilers/4.04.0/4.04.0+32bit/4.04.0+32bit.comp
  2. +1 −0 compilers/4.04.0/4.04.0+32bit/4.04.0+32bit.descr
@@ -0,0 +1,18 @@
opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-cc" "gcc -m32" "-as" "as --32" "-aspp" "gcc -m32 -c" "-host" "i386-linux" "-partialld" "ld -r -melf_i386"] {os = "linux"}
["./configure" "-prefix" prefix "-with-debug-runtime" "-cc" "gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" "-as" "as -arch i386" "-aspp" "gcc -arch i386 -m32 -c" "-host" "i386-apple-darwin13.2.0"] {os = "darwin"}
[make "world"]
[make "world.opt"]
[make "install"]
]
packages: [
"base-unix"
"base-bigarray"
"base-threads"
]
env: [[CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"]]
@@ -0,0 +1 @@
OCaml 4.04.0 compiled in 32-bit mode for 64-bit Linux and OS X hosts