caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier ALLAMIGEON <xavier.allamigeon@inria.fr>
To: Alain Frisch <alain@frisch.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] static C library of wrappers: compilation issues
Date: Thu, 26 Apr 2012 16:30:54 +0200	[thread overview]
Message-ID: <4F995C1E.8030507@inria.fr> (raw)
In-Reply-To: <4F993E2B.70700@frisch.fr>

Le 26/04/12 14:23, Alain Frisch a écrit :
> On 04/26/2012 12:08 PM, Xavier ALLAMIGEON wrote:
>> What do you mean exactly? I imagine that test.o needs some functions of
>> the libhello_world.a. But I don't see why libasmrun would need some
>> other functions of libhello_world...
>
> Well, this is the case. libasmrun contains the runtime system for OCaml
> code (compiled with ocamlopt) and, as you can see in the error message
> from the linker, it depends on symbols provided by the OCaml program.
> For instance, the garbage collector (in libasmrum) needs to find special
> symbols, to locate some data structures (in libhello_world.a) created by
> the compiler.
Ok, now I understand, thanks a lot for your explanation.

Best regards.
Xavier

      reply	other threads:[~2012-04-26 14:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26  7:58 Xavier ALLAMIGEON
2012-04-26  8:33 ` Török Edwin
2012-04-26 10:08   ` Xavier ALLAMIGEON
2012-04-26 12:23     ` Alain Frisch
2012-04-26 14:30       ` Xavier ALLAMIGEON [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=4F995C1E.8030507@inria.fr \
    --to=xavier.allamigeon@inria.fr \
    --cc=alain@frisch.fr \
    --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).