[MacPorts] #55385: ocaml: fails to build on 10.6 and lower

MacPorts noreply at macports.org
Fri Dec 15 01:09:05 UTC 2017


#55385: ocaml: fails to build on 10.6 and lower
---------------------+----------------------
  Reporter:  mojca   |      Owner:  pmetzger
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  ocaml   |
---------------------+----------------------

Comment (by kencu):

 Does anyone know how to add a link library to an ocaml build? I think all
 we need to do (AFAIK) is figure out how to get whatever ocaml sees as
 ```-libsnowleopardfixes.dylib``` added onto that build line that fails
 {{{
 ../boot/ocamlrun ../ocamlc -nostdlib -I ../stdlib -linkall -I
 ../otherlibs/unix -o ocamldebug -linkall ../otherlibs/unix/unix.cma
 ../utils/config.cmo ../utils/tbl.cmo ../utils/misc.cmo
 ../utils/identifiable.cmo ../utils/numbers.cmo ../utils/arg_helper.cmo
 ../utils/clflags.cmo ../utils/consistbl.cmo ../utils/warnings.cmo
 ../utils/terminfo.cmo ../parsing/location.cmo ../parsing/longident.cmo
 ../parsing/docstrings.cmo ../parsing/syntaxerr.cmo
 ../parsing/ast_helper.cmo ../parsing/ast_mapper.cmo
 ../parsing/ast_iterator.cmo ../parsing/attr_helper.cmo
 ../parsing/builtin_attributes.cmo ../typing/ident.cmo ../typing/path.cmo
 ../typing/types.cmo ../typing/btype.cmo ../typing/primitive.cmo
 ../typing/typedtree.cmo ../typing/subst.cmo ../typing/predef.cmo
 ../typing/datarepr.cmo ../typing/cmi_format.cmo ../typing/env.cmo
 ../typing/oprint.cmo ../typing/ctype.cmo ../typing/printtyp.cmo
 ../typing/mtype.cmo ../typing/envaux.cmo ../bytecomp/runtimedef.cmo
 ../bytecomp/bytesections.cmo ../bytecomp/dll.cmo ../bytecomp/meta.cmo
 ../bytecomp/symtable.cmo ../bytecomp/opcodes.cmo ../driver/compdynlink.cmo
 ../toplevel/genprintval.cmo int64ops.cmo primitives.cmo unix_tools.cmo
 debugger_config.cmo parameters.cmo lexer.cmo input_handling.cmo
 question.cmo debugcom.cmo exec.cmo source.cmo pos.cmo checkpoints.cmo
 events.cmo program_loading.cmo symbols.cmo breakpoints.cmo
 trap_barrier.cmo history.cmo printval.cmo show_source.cmo time_travel.cmo
 program_management.cmo frames.cmo eval.cmo show_information.cmo
 loadprinter.cmo parser.cmo command_line.cmo main.cmo
 }}}
 and it should work. Maybe.

 I just haven't a clue how to do that in `ocaml-speak`.

--
Ticket URL: <https://trac.macports.org/ticket/55385#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list