caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jeremie Dimino <jdimino@janestreet.com>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: "Christoph Höger" <christoph.hoeger@tu-berlin.de>,
	"caml users" <caml-list@inria.fr>
Subject: Re: [Caml-list] 4.04 linker woes
Date: Tue, 8 Nov 2016 08:28:00 +0000	[thread overview]
Message-ID: <CANhEzE5UC3NLg=60sWdyz41pZkfmy-U7PRtCwYtJXr4qD__22w@mail.gmail.com> (raw)
In-Reply-To: <CAPFanBHTSr0C1G7hjZ8DPGWuV90UnJHwETy6jbsM7w4JKdi2NQ@mail.gmail.com>

On Mon, Nov 7, 2016 at 9:21 PM, Gabriel Scherer
<gabriel.scherer@gmail.com> wrote:
> One possible explanation for the behavior of utop is that requiring the
> package adds the compiler-libs location to the include path, and therefore
> lets utop find the package when you ask for it. But the compilation of a
> binary that uses this module would still fail at link-time. (On the other
> hand, I'm not sure why a binary would need this module.)

That's correct. utop already has compiler-libs.bytecomp linked in, so
the only effect of [#require "compiler-libs.{common,bytecomp}"] is
[#directory "+compiler-libs"].

-- 
Jeremie

  reply	other threads:[~2016-11-08  8:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 20:10 Christoph Höger
2016-11-07 20:30 ` Gabriel Scherer
2016-11-07 20:46   ` Christoph Höger
2016-11-07 21:21     ` Gabriel Scherer
2016-11-08  8:28       ` Jeremie Dimino [this message]
2016-11-07 22:04   ` Alain Frisch

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='CANhEzE5UC3NLg=60sWdyz41pZkfmy-U7PRtCwYtJXr4qD__22w@mail.gmail.com' \
    --to=jdimino@janestreet.com \
    --cc=caml-list@inria.fr \
    --cc=christoph.hoeger@tu-berlin.de \
    --cc=gabriel.scherer@gmail.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
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).