Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004500OCaml-for ocamlbuild use 14:122015-12-11 19:07
Assigned Toxclerc 
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version3.10.0 
Target VersionFixed in Version 
Summary0004500: ocamlbuild -n would be nice
DescriptionI have in the past used make -n systematically, to construct a command file for a system that doesn't have make. It would be nice to be able to use ocamlbuild (which I use now in preference to make) for the same purpose.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
ertai (developer)
2008-02-06 14:49

ocamlbuild -n is not really useful since ocamlbuild produce a _log file that happens to be a shell script.

So "sh ./_build/_log" should works smoothly.

However this usage is not guaranteed to works in every cases (as in make) if you have done some configurations, in this case commands can be machine specific.

Second point some commands could be performed by caml functions and so perhaps not completely equivalent (if present) with those in the _log file.
rbornat (reporter)
2008-02-06 16:50

But the _log file requires me to actually do all the compilations. It would be nice to generate the _log without actually doing the work.
ertai (developer)
2008-02-19 15:40

That's not really doable in the context of ocamlbuild, since next commands are determined by the output of some previous commands.

- Issue History
Date Modified Username Field Change
2008-02-06 14:12 rbornat New Issue
2008-02-06 14:49 ertai Note Added: 0004447
2008-02-06 16:50 rbornat Note Added: 0004448
2008-02-19 14:46 doligez Status new => assigned
2008-02-19 14:46 doligez Assigned To => ertai
2008-02-19 15:40 ertai Note Added: 0004456
2010-07-22 11:49 ertai Assigned To ertai => xclerc
2010-07-22 11:49 ertai Category OCaml general => OCamlbuild
2012-02-02 15:17 protz Category OCamlbuild => OCamlbuild (the tool)
2012-07-11 15:55 doligez Severity minor => feature
2012-07-11 15:55 doligez Status assigned => resolved
2012-07-11 15:55 doligez Resolution open => won't fix
2015-12-11 19:07 xleroy Status resolved => closed
2017-02-23 16:34 doligez Category OCamlbuild (the tool) => for ocamlbuild use [^]
2017-02-23 16:44 doligez Category for ocamlbuild use [^] => -for ocamlbuild use [^]

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker