From: Richard Jones <rich@annexia.org>
To: Joel Reymont <joelr1@gmail.com>
Cc: fedora-mingw@lists.fedoraproject.org, caml-list@inria.fr
Subject: Re: ocaml cross-compiler
Date: Sat, 28 Mar 2009 22:25:42 +0000 [thread overview]
Message-ID: <20090328222542.GA26502@annexia.org> (raw)
In-Reply-To: <28598D5F-4142-4BC7-A07C-1C4D9B900D3E@gmail.com>
On Sat, Mar 28, 2009 at 07:45:49PM +0000, Joel Reymont wrote:
> Is there a ready-made Fedora package for the OCaml cross-compiler?
Note that we _only_ support Fedora Rawhide (the development version of
OCaml) and future Fedora 11 and above. To find out about Rawhide, see:
http://fedoraproject.org/wiki/Releases/Rawhide
If you have F-10, I believe that you can upgrade it to Rawhide simply
by editing a file in /etc/yum.repos.d. But ask about that on the main
Fedora mailing lists since I'm not sure.
Anyway, to install the cross-compiler, create a new file
/etc/yum.repos.d/mingw.repo which contains:
[mingw]
name=Fedora Windows cross-compiler, libraries and tools
baseurl=http://homes.merjis.com/~rich/mingw/fedora-10/x86_64/
enabled=1
gpgcheck=0
Note that you will need to adjust the baseurl to match your version of
Fedora and architecture.
Then do:
# yum install mingw32-ocaml
Actually there are several packages you can install. Poke around
http://homes.merjis.com/~rich/mingw/ to see which ones.
> I would like to cross-compile a GTK+ app but can't find instructions.
To cross-compile an OCaml program I strongly suggest that you start
off with the example package that I created / used for the OCaml Users
Conference talk last month:
http://www.annexia.org/tmp/ocaml-mingw-gtk/
Please join the mailing list and ask questions there so we can share
the knowledge:
https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
Any OCaml + lablgtk2 program should be straightforward to
cross-compile for Windows. Mostly difficulties will arise only if the
program uses some weird libraries.
Rich.
--
Richard Jones
Red Hat
next parent reply other threads:[~2009-03-28 22:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <28598D5F-4142-4BC7-A07C-1C4D9B900D3E@gmail.com>
2009-03-28 22:25 ` Richard Jones [this message]
2009-03-28 22:33 ` [Caml-list] " Richard Jones
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=20090328222542.GA26502@annexia.org \
--to=rich@annexia.org \
--cc=caml-list@inria.fr \
--cc=fedora-mingw@lists.fedoraproject.org \
--cc=joelr1@gmail.com \
/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