Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006195OCamlOCaml internal build/install (Makefiles, configure)public2013-09-26 17:122015-09-11 16:48
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target Version4.03.0+devFixed in Version 
Summary0006195: Use compilerlibs instead of explicit lists of modules from the compiler
DescriptionSome tools which are part of the standard distribution (ocamldoc, ocamldebug, read_cmt, objinfo) embed some modules from the compiler. Instead of listing required modules explicitly, we could link against ocamlcommon.cma (and ocamlbytecomp.cma, if needed). This would simplify the Makefiles and make them more robust w.r.t. modifications of dependencies within compiler modules.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
xleroy (administrator)
2013-10-03 14:26

Good idea. Any takers?
frisch (developer)
2013-10-03 14:57

ocamldoc: done. Note that it is compiled with -linkall (not sure why), so linking against ocamlcommon.cma includes some unused modules (mostly, the type-checker). I think we don't care.
xleroy (administrator)
2013-10-03 15:11

> Note that it is compiled with -linkall (not sure why)

Because ocamldoc can dynamically load plugins, I think. (Hence all stdlib modules and all ocamldoc modules must be linked in.)
guesdon (manager)
2013-10-03 15:37

frisch (developer)
2013-10-03 15:56

Note that ocamldoc modules are explicitly included (as opposed to linking odoc_info.cma + other modules). Point taken for the stdlib. This makes me wonder whether we should have a way to force including an entire library (i.e. -linkall restricted to a single library).
frisch (developer)
2015-09-11 16:48

read_cmt: done in commit 16417.

- Issue History
Date Modified Username Field Change
2013-09-26 17:12 frisch New Issue
2013-10-03 14:26 xleroy Note Added: 0010421
2013-10-03 14:26 xleroy Status new => confirmed
2013-10-03 14:57 frisch Note Added: 0010422
2013-10-03 15:11 xleroy Note Added: 0010423
2013-10-03 15:37 guesdon Note Added: 0010424
2013-10-03 15:56 frisch Note Added: 0010425
2014-08-18 20:14 doligez Target Version 4.02.0+dev => 4.02.1+dev
2014-09-04 00:25 doligez Target Version 4.02.1+dev => undecided
2014-09-15 23:21 doligez Target Version undecided => 4.02.2+dev / +rc1
2015-02-26 00:22 doligez Target Version 4.02.2+dev / +rc1 => 4.03.0+dev
2015-09-11 16:48 frisch Note Added: 0014441

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker