🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.caml
Article #107

Re: [Caml-list] ocamlc compiles hello world, ocamlopt not

#107
From: r0ller
Date: Wed, 16 Jan 2013 09:36
62 lines
2964 bytes
Hi Gerd,

If that's really the case (still I'm trying to find the post mentioned by Francois), then my question is if there's any doc about how to do it? I'm asking because I'm more a guy with C/C++ knowledge. Actually, the library I'd like to link my C/C++ project with originally has a C lib on platforms that have ocamlopt but I don't mind if I'm interfacing with a byte code lib if it's also possible.

Thanks&regards,
r0ller

On Wednesday, January 16, 2013 10:01:20 AM UTC+1, Gerd Stolpmann wrote:
> Am 16.01.2013 09:56:55 schrieb(en) Francois Berenger:
> 
> > On 01/16/2013 05:02 PM, r0ller@.hu wrote:
> 
> >> Hi All,
> 
> >> 
> 
> >> By the way, is there any doc available about porting ocaml (google  
> 
> >> didn't find any) or any hint on how to move forward? I'd really like  
> 
> >> to have the native compiler on minix too.
> 
> > 
> 
> > I think in the past it was possible to generate C code from OCaml  
> 
> > code.
> 
> 
> 
> There is no real C backend (and has never been). The only thing you can  
> 
> do is to embed bytecode in a C-friendly way (what -output-obj does).  
> 
> But it is still bytecode.
> 
> 
> 
> Gerd
> 
> 
> 
> > As I guess Minix have a C compiler, that would be a way out for you.
> 
> > 
> 
> > I can't find back, but I remember Richard W.M. Jones from Red Hat  
> 
> > posted about it on caml-list and keeps it somewhere.
> 
> > 
> 
> >> Thanks&regards,
> 
> >> r0ller
Technical Details
Message-ID: <c4200059-411f-4199-9762-6c393afbaad7@googlegroups.com>
Path: arc1-ca.pugleaf.net!s9ni24pbb.0!nntp.google.com!ld4no1472055pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <fa.yuD604fWUWzMhQKQ2PVUY9+PSRs@ifi.uio.no> <fa.SiWjqBgSRaJHHtRDr1LQlRGec/I@ifi.uio.no> <fa.vGYTX053VB/7kO+WVlnBXs6LyWM@ifi.uio.no>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff861,80f90091d91f8424
X-Google-NewGroupId: yes
X-Google-Attributes: gidc0fe4b917e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.68.217.69 with SMTP id ow5mr56542pbc.0.1358329002504;
        Wed, 16 Jan 2013 01:36:42 -0800 (PST)
X-Received: by 10.49.71.135 with SMTP id v7mr82272qeu.28.1358329002092; Wed,
 16 Jan 2013 01:36:42 -0800 (PST)
Path: arc1-ca.pugleaf.net!s9ni24pbb.0!nntp.google.com!ld4no1472055pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: fa.caml
Date: Wed, 16 Jan 2013 01:36:41 -0800 (PST)
In-Reply-To: <fa.vGYTX053VB/7kO+WVlnBXs6LyWM@ifi.uio.no>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.229.2.180; posting-account=1tym9AoAAABKxcWqTDQq8MFzsJ5_fvrj
NNTP-Posting-Host: 87.229.2.180
References: <fa.yuD604fWUWzMhQKQ2PVUY9+PSRs@ifi.uio.no> <fa.SiWjqBgSRaJHHtRDr1LQlRGec/I@ifi.uio.no>
 <fa.vGYTX053VB/7kO+WVlnBXs6LyWM@ifi.uio.no>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c4200059-411f-4199-9762-6c393afbaad7@googlegroups.com>
Subject: Re: [Caml-list] ocamlc compiles hello world, ocamlopt not
From: r0ller@freemail.hu
Cc: Francois Berenger <berenger@riken.jp>, caml-list@inria.fr
Injection-Date: Wed, 16 Jan 2013 09:36:42 +0000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable