caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nicolas Ojeda Bar <n.oje.bar@gmail.com>
To: "Richard W.M. Jones" <rich@annexia.org>
Cc: Gabriel Scherer <gabriel.scherer@gmail.com>,
	caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] [ANN] RISC-V backend for the native-code OCaml compiler
Date: Sat, 10 Sep 2016 20:10:10 +0200	[thread overview]
Message-ID: <CAPunWhDic4=ptinYWEU5N=0h9g8MMnnBk04p8xGrAgSD=1Mi8w@mail.gmail.com> (raw)
In-Reply-To: <20160910170847.GS324@annexia.org>

Hi Richard,

- As Gabriel explained the upstream is the branch riscv64-unknown-elf
of the official 4.02 release found at
github.com/nojb/ocaml.  It should be trivial to bring it up to date (I
will do it if there is interest).

- I have been following your efforts on the RISC-V mailing list and I
agree that it would be great to have
OCaml running in Fedora userland on RISC-V.  The native-code backend I
wrote was only tested with the spike simulator
(I don't remember the details now, but I had to build OCaml with
newlib instead of libc for this).

Do get back to me if you detect any issues with the port - I haven't
updated it in quite some time and some adjustments may be
needed.

Are there any step-by-step instructions on how to run Fedora on RISC-V
at this stage ?

Thanks!

Best wishes,
Nicolas


On Sat, Sep 10, 2016 at 7:08 PM, Richard W.M. Jones <rich@annexia.org> wrote:
> On Sat, Sep 10, 2016 at 12:49:45PM -0400, Gabriel Scherer wrote:
>> The given link is an opam repository that contains a description of the
>> forked compiler for easy installation via opam. Looking at the description
>> file for the compiler
>>
>>
>> https://github.com/nojb/riscv-ocamlopt/blob/master/compilers/4.02.0/4.02.0%2Briscv64-unknown-elf/4.02.0%2Briscv64-unknown-elf.comp
>>
>> it appears that the upstream source (currently) is a branch of the
>> github:nojb/ocaml repository:
>>
>>   https://github.com/nojb/ocaml/commits/4.02.0%2Briscv64-unknown-elf
>
> Just what I was looking for, thanks.
>
> FWIW we are currently porting Fedora to RISC-V, so of course I
> want to have a go at compiling OCaml too.
>
> https://fedoraproject.org/wiki/Architectures/RISC-V
>
> Rich.
>
> --
> Richard Jones

      reply	other threads:[~2016-09-10 18:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-07 17:44 Nicolas Ojeda Bar
2016-09-10 16:41 ` Richard W.M. Jones
2016-09-10 16:49   ` Gabriel Scherer
2016-09-10 17:08     ` Richard W.M. Jones
2016-09-10 18:10       ` Nicolas Ojeda Bar [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='CAPunWhDic4=ptinYWEU5N=0h9g8MMnnBk04p8xGrAgSD=1Mi8w@mail.gmail.com' \
    --to=n.oje.bar@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@gmail.com \
    --cc=rich@annexia.org \
    /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).