Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004500OCamlOCamlbuild (the tool)public2008-02-06 14:122012-07-11 15:55
Reporterrbornat 
Assigned Toxclerc 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionwon'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
(0004447)
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.
(0004448)
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.
(0004456)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker