Hello,
I've seen discussion on OCaml's integration in MinGW cross compilation suite shipped in Fedora. What is the status of this work ? Is there any repo where I can pull .spec file or SPRPMs ?
I'm very interested in helping 'cause after the first pass to port a software written in OCaml to Windows, it's really a pain in the ass (to first have just bootstrap Ocaml in Windows with all needed libraries and then) maintain it.
http://repos.fedorapeople.org/ do not expose any work on MinGW too.
Cheers.
On 06/15/2011 11:21 PM, Jérôme Benoit wrote:
I've seen discussion on OCaml's integration in MinGW cross compilation suite shipped in Fedora. What is the status of this work ? Is there any repo where I can pull .spec file or SPRPMs ?
Hello Jérôme,
There's a rather outdated git repo at: http://git.annexia.org/?p=fedora-mingw.git;a=tree which has some MinGW ocaml packages. I think that might be a good starting point.
In any case, Richard Jones (rwmjones on IRC) would know best about the current state of ocaml packages. You might want to pop in to #fedora-mingw channel on irc.freenode.net to discuss it.
I'm very interested in helping 'cause after the first pass to port a software written in OCaml to Windows, it's really a pain in the ass (to first have just bootstrap Ocaml in Windows with all needed libraries and then) maintain it.
You are very welcome to contribute. I can see how getting the ocaml cross compiler in Fedora would make life lot easier.
Hope this helps, Kalev
Le Fri, 17 Jun 2011 10:44:11 +0300, Kalev Lember a écrit :
There's a rather outdated git repo at: http://git.annexia.org/?p=fedora-mingw.git;a=tree which has some MinGW ocaml packages. I think that might be a good starting point.
In any case, Richard Jones (rwmjones on IRC) would know best about the current state of ocaml packages. You might want to pop in to #fedora-mingw channel on irc.freenode.net to discuss it.
Ok, will do when time permit.
Thks.
On Fri, Jun 17, 2011 at 10:44:11AM +0300, Kalev Lember wrote:
On 06/15/2011 11:21 PM, Jérôme Benoit wrote:
I've seen discussion on OCaml's integration in MinGW cross compilation suite shipped in Fedora. What is the status of this work ? Is there any repo where I can pull .spec file or SPRPMs ?
Hello Jérôme,
There's a rather outdated git repo at: http://git.annexia.org/?p=fedora-mingw.git;a=tree which has some MinGW ocaml packages. I think that might be a good starting point.
In any case, Richard Jones (rwmjones on IRC) would know best about the current state of ocaml packages. You might want to pop in to #fedora-mingw channel on irc.freenode.net to discuss it.
Yeah, unfortunately we haven't got the patches upstream.
The problem is that the OCaml build system itself is rather primitive, and so the patches required to turn it into a cross-compiler are quite a set of hacks. I discussed this a little bit with Xavier, but essentially it's going to involve someone taking ownership, and feeding reasonable patches back upstream. It's not too easy either.
Rich.
Le Tue, 21 Jun 2011 15:37:30 +0100, Richard W.M. Jones a écrit :
The problem is that the OCaml build system itself is rather primitive, and so the patches required to turn it into a cross-compiler are quite a set of hacks.
A hack against another hack. The OCaml build system is "makefiles" (and not very well written).
I discussed this a little bit with Xavier, but essentially it's going to involve someone taking ownership, and feeding reasonable patches back upstream. It's not too easy either.
Do you have a bugtracking link or a thread link of the discussion ? If it's the only patch http://git.annexia.org/?p=fedora-mingw.git;a=blob;f=ocaml/mingw32-ocaml-3.11... that make Xavier scream, I can polish it to conditionally add objects to the variable depending on a boolean (POSIX or not POSIX).
Thks.
On Tue, Jun 21, 2011 at 10:32:50PM +0200, Jérôme Benoit wrote:
Do you have a bugtracking link or a thread link of the discussion ?
No, it was in person, in Grenoble IIRC :-)
If it's the only patch http://git.annexia.org/?p=fedora-mingw.git;a=blob;f=ocaml/mingw32-ocaml-3.11... that make Xavier scream, I can polish it to conditionally add objects to the variable depending on a boolean (POSIX or not POSIX).
Basically that's what we're looking at.
You might want to ask the Debian folk if they've got any further. Last I looked they had also added OCaml cross-compiler packages, but I don't think they got anything upstream either.
Rich.