| Anonymous | Login | Signup for a new account | 2013-05-21 17:46 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0005577 | OCaml | OCaml internal build/install (Makefiles, configure) | public | 2012-04-06 16:03 | 2012-04-10 10:17 | |||||||
| Reporter | frisch | |||||||||||
| Assigned To | ||||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | resolved | Resolution | no change required | |||||||||
| Platform | OS | Windows | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Summary | 0005577: Windows: 'make install' fails when 'make opt' has not been run | |||||||||||
| Description | OCaml Makefile.nt fails upon 'make install' if the native compiler has not been built. Under Unix, the Makefile tests for the presence of ocamlopt and calls the installopt target only if it exists. Is there a reason not to do the same under Windows? | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Notes |
|
|
(0007288) xleroy (administrator) 2012-04-06 16:16 |
A simple reason: under Windows, ocamlopt is always built; under Unix, it's not always built because it's not supported on every platform that ocamlrun/ocamlc run on. |
|
(0007304) frisch (developer) 2012-04-10 10:17 |
> under Windows, ocamlopt is always built ocamlopt can always be built, but there could be cases where the user wants to build and install only the bytecode tools. I propose one of the following actions (by increasing order of preference): - Adapt Makefile.nt so as to force building the the native code version with the bytecode one (i.e. merge 'make opt' -- and also 'make opt.opt'? -- and 'make world'). - Adapt README.win32 to indicate clearly that 'make opt' has to be executed before 'make install'. Or at least document the 'make installbyt' target. - Adapt Makefile.nt to do the same as under Unix, so as to allow more flexibility. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-04-06 16:03 | frisch | New Issue | |
| 2012-04-06 16:16 | xleroy | Note Added: 0007288 | |
| 2012-04-06 16:16 | xleroy | Status | new => resolved |
| 2012-04-06 16:16 | xleroy | Resolution | open => no change required |
| 2012-04-10 10:17 | frisch | Note Added: 0007304 | |
| Copyright © 2000 - 2011 MantisBT Group |