From: xclerc <xavier.clerc@inria.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] PowerPC 405
Date: Wed, 1 Apr 2009 16:12:25 +0200 [thread overview]
Message-ID: <C8148D2A-BBE6-4F5C-8CFE-0D1C587ABE25@inria.fr> (raw)
In-Reply-To: <B75B1A35-E8CD-4A32-A566-D832982091E7@inria.fr>
Le 30 mars 09 à 15:45, xclerc a écrit :
(...)
> I have built a MacOS-to-Linux cross-compiler last week.
> I do confirm that the hard part is getting a cross-[g]cc up and
> running.
> In fact, this is so tedious that I strongly encourage to resort to
> either
> a prepackaged cross-[g]cc (from binaries, from a Linux packaging
> system, whatever), or to the excellent "crosstool" available at :
> http://www.kegel.com/crosstool/
>
> On the OCaml side, there are very few things to do and they are
> quite straightforward. First, you have to emulate the behaviour of
> "./configure" by producing "config/m.h", "config/s.h", and "config/
> Makefile"
> by hand. This is easier than it may sound, just start from "config/m-
> templ.h",
> "config/s-temp.h", and "config/Makefile-templ" (these are
> comprehensively
> commented).
> Then, you will have to slightly patch some Makefiles, and you are
> done.
>
> I will setup a webpage with all the necessary steps and patches as
> soon
> as I get my notes organized. This will allow us to share knowledge
> on the subject.
The build process I followed along with its accompagnying patch are
available on the Gallium wiki at the following URL:
http://brion.inria.fr/gallium/index.php/CrossCompiler
This is clearly a very experimental draft that is still a bit hackish.
All reports, both positive and negative are hence very welcome,
in order to polish it up.
Hope this helps,
Xavier Clerc
prev parent reply other threads:[~2009-04-01 14:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-27 15:04 Gregory Bellier
2009-03-27 15:10 ` [Caml-list] " Basile STARYNKEVITCH
2009-03-27 15:56 ` Gregory Bellier
2009-03-27 16:05 ` Basile STARYNKEVITCH
2009-03-27 17:19 ` Xavier Leroy
2009-03-30 7:30 ` Gregory Bellier
2009-03-30 13:45 ` xclerc
2009-04-01 14:12 ` xclerc [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=C8148D2A-BBE6-4F5C-8CFE-0D1C587ABE25@inria.fr \
--to=xavier.clerc@inria.fr \
--cc=caml-list@yquem.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