From: Ian Zimmerman <email@example.com> To: firstname.lastname@example.org Subject: Re: [Caml-list] How to use -map , -no-alias-deps and friends? Date: Wed, 31 Jul 2019 16:14:47 -0700 Message-ID: <email@example.com> (raw) In-Reply-To: <firstname.lastname@example.org> On 2019-08-01 00:07, Florian Angeletti wrote: > As far as I can see your invocation of ocamldep in the .depend target > is mostly fine. You may want to add `-open Aaa` too (another minor > issue here is that `-as-map` is a global flag and does not take an > argument) . The problem seems to come from your undisclosed linkorder > script. As you probably suspect, linkorder.sh uses ocamldep too, taking only the submodule names (ie. excluding Aaa.ml and Aaa.mli). > Note than another option to compute .depend and the link order is to > use `codept` (available on opam) with the `-no-alias-deps` flag, which > removes the need of declaring any map file by hand. That is very interesting, and probably the best option for this style of aliasing. Meanwhile I was able to quickly make it work with -pack ; do I understand correctly that the only significant drawback is linking all the submodules from any program requesting the library? -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.
next prev parent reply index Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-07-31 21:18 Ian Zimmerman 2019-07-31 21:52 ` Nicolás Ojeda Bär 2019-08-06 18:48 ` Ian Zimmerman 2019-08-07 20:32 ` [Caml-list] opam and dune [Was: How to use -map] Ian Zimmerman 2019-08-08 1:39 ` Rudi Grinberg 2019-08-08 17:48 ` Hendrik Boom 2019-08-08 17:54 ` Rudi Grinberg 2019-08-08 19:38 ` Daniel Bünzli 2019-11-15 0:32 ` Ian Zimmerman 2019-08-08 18:05 ` Yawar Amin 2019-08-08 19:03 ` Josh Berdine 2019-07-31 22:08 ` [Caml-list] How to use -map , -no-alias-deps and friends? Florian Angeletti 2019-07-31 23:15 ` Ian Zimmerman [this message] 2019-08-01 9:40 ` Florian Angeletti
Reply instructions: You may reply publically to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
caml-list - the Caml user's mailing list Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list AGPL code for this site: git clone https://public-inbox.org/ public-inbox