πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.caml
Article #141

Re: [Caml-list] static C library of wrappers: compilation issues

#141
From: Xavier ALLAMIGEON
Date: Thu, 26 Apr 2012 14:31
22 lines
3298 bytes
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

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
Technical Details
Message-ID: <fa.NavZ8zo38NGbGaX/EmueiANeeEs@ifi.uio.no>
Path: arc1-ca.pugleaf.net!h15ni168059bkw.0!nntp.google.com!news2.google.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
References: <fa.XlnNJXrM7cjr64FYE99G2A+nhk4@ifi.uio.no> <fa.x1meoX1izKZMvjRMs57ceIS84Ic@ifi.uio.no> <fa.ioT/YTrmrBD22KvNJHup1lSU0qY@ifi.uio.no> <fa.2qkECvaSgOSJxnChx8/msqdsnUw@ifi.uio.no>

Show Full Headers
Complete Article Headers
X-Google-Thread: c0fe4b917e,9e13cd36b5c96a87
X-Google-Attributes: gidc0fe4b917e,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII
Received: by 10.205.131.16 with SMTP id ho16mr810548bkc.3.1335450677681;
        Thu, 26 Apr 2012 07:31:17 -0700 (PDT)
Path: arc1-ca.pugleaf.net!h15ni168059bkw.0!nntp.google.com!news2.google.com!goblin2!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Xavier ALLAMIGEON <xavier.allamigeon@inria.fr>
Newsgroups: fa.caml
Subject: Re: [Caml-list] static C library of wrappers: compilation issues
Date: Thu, 26 Apr 2012 14:31:17 UTC
Organization: Internet mailing list
Lines: 23
Message-ID: <fa.NavZ8zo38NGbGaX/EmueiANeeEs@ifi.uio.no>
References: <fa.XlnNJXrM7cjr64FYE99G2A+nhk4@ifi.uio.no> <fa.x1meoX1izKZMvjRMs57ceIS84Ic@ifi.uio.no> <fa.ioT/YTrmrBD22KvNJHup1lSU0qY@ifi.uio.no> <fa.2qkECvaSgOSJxnChx8/msqdsnUw@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1335450677 28486 129.240.7.9 (26 Apr 2012 14:31:17 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Thu, 26 Apr 2012 14:31:17 +0000 (UTC)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
Cc: caml-list@inria.fr
To: Alain Frisch <alain@frisch.fr>
X-IronPort-AV: E=Sophos;i="4.75,486,1330902000"; 
   d="scan'208";a="155773454"
X-Authentication-Warning: walapai.inria.fr: sympa set sender to caml-list-owner@inria.fr using -f
X-IronPort-AV: E=Sophos;i="4.75,486,1330902000"; 
   d="scan'208";a="141729058"
In-Reply-To: <4F993E2B.70700@frisch.fr>
X-Sequence: 3971
List-Id: <caml-list.inria.fr>
List-Archive: <https://sympa-roc.inria.fr/wws/arc/caml-list>
List-Help: <mailto:sympa@inria.fr?subject=help>
List-Owner: <mailto:caml-list-request@inria.fr>
List-Post: <mailto:caml-list@inria.fr>
List-Subscribe: <mailto:sympa@inria.fr?subject=subscribe%20caml-list>
List-Unsubscribe: <mailto:sympa@inria.fr?subject=unsubscribe%20caml-list>
Original-Date: Thu, 26 Apr 2012 16:30:54 +0200
Original-Message-Id: <4F995C1E.8030507@inria.fr>
Original-References: <4F99003B.9070001@inria.fr> <4F990869.5050105@etorok.net> <4F991E88.5060402@inria.fr> <4F993E2B.70700@frisch.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit