From: Ian Zimmerman <itz@very.loosely.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] How to use -map , -no-alias-deps and friends?
Date: Wed, 31 Jul 2019 16:14:47 -0700 [thread overview]
Message-ID: <20190731231447.oxcvbgd4ipwymcqb@matica.foolinux.mooo.com> (raw)
In-Reply-To: <6480f30b-a2c3-90bc-33b3-6efa2e02f398@polychoron.fr>
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 other threads:[~2019-07-31 23:14 UTC|newest]
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:47 ` Ian Zimmerman
2019-08-07 20:32 ` [Caml-list] opam and dune [Was: How to use -map] Ian Zimmerman
2019-08-08 1:38 ` Rudi Grinberg
2019-08-08 17:48 ` Hendrik Boom
2019-08-08 17:53 ` 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:07 ` [Caml-list] How to use -map , -no-alias-deps and friends? Florian Angeletti
2019-07-31 23:14 ` Ian Zimmerman [this message]
2019-08-01 9:40 ` Florian Angeletti
Reply instructions:
You may reply publicly 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 \
--in-reply-to=20190731231447.oxcvbgd4ipwymcqb@matica.foolinux.mooo.com \
--to=itz@very.loosely.org \
--cc=caml-list@inria.fr \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox