You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7312 Reporter:@gasche Assigned to:@shindere Status: assigned (set by @shindere on 2016-12-13T08:44:13Z) Resolution: open Priority: normal Severity: feature Version: 4.03.0 Target version: later Category: configure and build/install
Alain Frisch and Sébastien Hinderer remarked that currently, ocaml (and now ocamlnat) are built with the $(EXE) extension from the start, while most other tools are built without extensions and given an extension at install time.
It would be more consistent to build all tools directly with an $(EXE) extension.
Additional information
The makefile rules to have both (ocamlnat) and (ocamlnat$(EXE)) work as Makefile targets (so that "make ocamlnat" keeps working on Windows after the change) is a bit tricky to setup as just "ocamlnat: ocamlnat$(EXE)" could give an infinite loop, see
If it's just a question of consistency, we could also build everything without the $(EXE) suffix. What are the pros and cons for building with $(EXE) from the start?
Sébastien's argument in the github discussion was as follows:
First it seems a bit more logical to me,
second and perhaps more concretely it lets one
run the executable without having to
install it outside of a Cygwin environment.
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 7312
Reporter: @gasche
Assigned to: @shindere
Status: assigned (set by @shindere on 2016-12-13T08:44:13Z)
Resolution: open
Priority: normal
Severity: feature
Version: 4.03.0
Target version: later
Category: configure and build/install
Bug description
In #729
#729
Alain Frisch and Sébastien Hinderer remarked that currently, ocaml (and now ocamlnat) are built with the $(EXE) extension from the start, while most other tools are built without extensions and given an extension at install time.
It would be more consistent to build all tools directly with an $(EXE) extension.
Additional information
The makefile rules to have both (ocamlnat) and (ocamlnat$(EXE)) work as Makefile targets (so that "make ocamlnat" keeps working on Windows after the change) is a bit tricky to setup as just "ocamlnat: ocamlnat$(EXE)" could give an infinite loop, see
ocaml/Makefile.shared
Lines 326 to 334 in e1b57c4
The text was updated successfully, but these errors were encountered: