ocaml-obuild / obuild

simple package build system for ocaml
BSD 2-Clause "Simplified" License
55 stars 20 forks source link

no support for bytecode-only platforms #174

Closed dougmencken closed 6 years ago

dougmencken commented 6 years ago

I adapted ./bootstrap script https://github.com/ocaml-obuild/obuild/pull/173 to use no ocamlopt, but there’re other problems with it like

File "init.ml", line 98, characters 45-62:
Warning 3: deprecated: String.capitalize
Use String.capitalize_ascii instead.
COMPILING help
COMPILING install
COMPILING path_generated
COMPILING main
LINKING obuild.bootstrap
Configuring obuild-0.1.9...
uncaught exception
Fatal error: exception Obuild.Prog.ProgramNotFound("ocamlopt")
Called from unknown location
UnixJunkie commented 6 years ago

try

export OCAMLRUNPARAM=b

prior to running your crashing example

dougmencken commented 6 years ago

export OCAMLRUNPARAM=b shows no change, I got the same

LINKING obuild.bootstrap
Configuring obuild-0.1.9...
uncaught exception
Fatal error: exception Obuild.Prog.ProgramNotFound("ocamlopt")
Called from unknown location