From: SF Markus Elfring <elfring@users.sourceforge.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Support for symbolic links by compilers for OCaml?
Date: Tue, 18 Jul 2017 20:10:09 +0200 [thread overview]
Message-ID: <a1b5fbb6-b682-727f-ab1d-c34c72e87c97@users.sourceforge.net> (raw)
In-Reply-To: <d682165e-5c25-ffe3-d01c-ec5d0c449fb8@users.sourceforge.net>
> lrwxrwxrwx 1 elfring users 13 14. Jul 21:29 o/bin/loc.cmi -> x/bin/loc.cmi
This kind of display looked too promising for a moment.
> I wonder why the provided symbolic link is not taken into account for this
> compilation try.
How do you think about a solution with using absolute paths for the desired
link sources?
https://github.com/elfring/ocamlbuild/commit/0ae41f82882ac28e4c6b375f1e2bfcf3425c7a80#diff-b488c39ebbe2be3f6f907a6af205b431R606
> It seems that the following command variant succeeds with the addition of
> an include parameter.
>
>
> elfring@Sonne:~/Projekte/Bau/OCamlbuild> ocamlc.opt -for-pack Ocamlbuild_pack -w L -w R -w Z -safe-string -bin-annot -I o/bin -I x/bin -I +unix -c -o 'o/bin/loc.cmo' '/home/elfring/Projekte/OCaml/OCamlbuild/lokal/src/loc.ml'
I guess that such a build configuration approach can trigger also some
software development concerns.
How much do you try to handle output directories separately?
Regards,
Markus
prev parent reply other threads:[~2017-07-18 18:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 20:22 SF Markus Elfring
2017-07-18 18:10 ` SF Markus Elfring [this message]
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=a1b5fbb6-b682-727f-ab1d-c34c72e87c97@users.sourceforge.net \
--to=elfring@users.sourceforge.net \
--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;
as well as URLs for NNTP newsgroup(s).