|Anonymous | Login | Signup for a new account||2018-04-22 22:08 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005556||OCaml||configure and build/install||public||2012-03-27 07:14||2012-03-29 09:47|
|Target Version||Fixed in Version|
|Summary||0005556: Share more between Unix and Windows makefiles|
|Description||In many directories of OCaml sources, Makefile and Makefile.nt share a lot of common code (through inclusion of a Makefile.shared). This avoids a lot of duplication and facilitates the task of maintaining the build system up to date for Windows. I propose to continue this effort. In particular, the root Makefile(s) could be largely shared as well.|
|Tags||No tags attached.|
This is not a problem report per se, and I feel that using the bug tracker this way diminishes its efficiency, making it harder to spot the real problem reports.
As to the Makefiles: yes, they could be refactored, but 1- it's boring work with high breakage potential, and 2- to do a good job at it, we'd need to switch all makefiles to GNU make (instead of hacking around the limitations of POSIX make), a move that I'd welcome but that some other developers oppose.
> As to the Makefiles: yes, they could be refactored, but 1- it's boring work with high breakage potential, and 2- to do a good job at it, we'd need to switch all makefiles to GNU make (instead of hacking around the limitations of POSIX make), a move that I'd welcome but that some other developers oppose.
I'm not proposing to completely merge Makefiles, just to factorize common code, as already done e.g. in stdlib, byterun, otherlibs. I don't think we need to switch to GNU make to do that.
|2012-03-27 07:14||frisch||New Issue|
|2012-03-27 10:41||xleroy||Note Added: 0007187|
|2012-03-27 10:41||xleroy||Status||new => resolved|
|2012-03-27 10:41||xleroy||Resolution||open => suspended|
|2012-03-27 12:47||frisch||Note Added: 0007194|
|2017-02-23 16:38||doligez||Category||OCaml internal build/install (Makefiles, configure) => configure and build/install|
|Copyright © 2000 - 2011 MantisBT Group|