🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.caml
Article #108

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

#108
From: r0ller
Date: Wed, 16 Jan 2013 10:16
79 lines
3500 bytes
Hi Basile,

Thanks! I'll definitely have a look at it even though compiling a whole ocaml project will be challenging:) Yet another really bold question: I do not know, how the original ocamlopt is built but if it's also built from bytecode, can ocamlcc be used to build ocamlopt?

Thanks&regards,
r0ller

On Wednesday, January 16, 2013 10:48:36 AM UTC+1, Basile Starynkevitch wrote:
> On Wed, Jan 16, 2013 at 10:01:06AM +0100, 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.
> 
> 
> 
> 
> 
> Benoit Vaugon & Michel Mauny worked recently on OcamlCC
> 
> (a translator from Ocaml bytecode to C)
> 
> http://oud.ocaml.org/2012/abstracts/oud2012-final10.pdf
> 
> https://github.com/ocaml-bytes/ocamlcc
> 
> 
> 
> Cheers.
> 
> -- 
> 
> Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
> 
> email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
> 
> 8, rue de la Faiencerie, 92340 Bourg La Reine, France
> 
> *** opinions {are only mines, sont seulement les miennes} ***
> 
> 
> 
> -- 
> 
> Caml-list mailing list.  Subscription management and archives:
> 
> https://sympa.inria.fr/sympa/arc/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: <160aed40-5e04-41e2-ba4c-f78b8b270f24@googlegroups.com>
Path: arc1-ca.pugleaf.net!k2ni11qap.0!nntp.google.com!p13no669697qai.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> <fa.3ZA77VqUCTh0CDJf/dKc9fxM234@ifi.uio.no>

Show Full Headers
Complete Article Headers
X-Google-Thread: c0fe4b917e,80f90091d91f8424
X-Google-Attributes: gidc0fe4b917e,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.224.198.196 with SMTP id ep4mr538007qab.3.1358331375435;
        Wed, 16 Jan 2013 02:16:15 -0800 (PST)
X-Received: by 10.49.24.13 with SMTP id q13mr89990qef.33.1358331375349; Wed,
 16 Jan 2013 02:16:15 -0800 (PST)
Path: arc1-ca.pugleaf.net!k2ni11qap.0!nntp.google.com!p13no669697qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: fa.caml
Date: Wed, 16 Jan 2013 02:16:15 -0800 (PST)
In-Reply-To: <fa.3ZA77VqUCTh0CDJf/dKc9fxM234@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> <fa.3ZA77VqUCTh0CDJf/dKc9fxM234@ifi.uio.no>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <160aed40-5e04-41e2-ba4c-f78b8b270f24@googlegroups.com>
Subject: Re: [Caml-list] ocamlc compiles hello world, ocamlopt not
From: r0ller@freemail.hu
Cc: Gerd Stolpmann <info@gerd-stolpmann.de>, Francois Berenger <berenger@riken.jp>, caml-list@inria.fr
Injection-Date: Wed, 16 Jan 2013 10:16:15 +0000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable