Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] OCaml + mingw-w64
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christoph Cullmann <cullmann@a...>
Subject: Re: [Caml-list] OCaml + mingw-w64
On Tuesday, November 23, 2010 05:31:12 pm Christoph Cullmann wrote:
> On Monday, November 22, 2010 04:33:08 pm Damien Doligez wrote:
> > On 2010-11-22, at 13:04, Christoph Cullmann wrote:
> > > In ocaml 3.12, in byterun/major_gc.h, there is:
> > > 
> > > 
> > > intnat caml_major_collection_slice (long howmuch)
> > > 
> > > 
> > > 
> > > whereas in the .c file that is:
> > > 
> > > 
> > > intnat caml_major_collection_slice (intnat howmuch)
> > > 
> > > 
> > > 
> > > As intnat is with mingw-w64 long long, this doesn't match.
> > > Should not the header use intnat, too?
> > 
> > You're right.  This will be fixed in 3.12.1.
> 
> Thanks.
> 
> We just started here to port ocaml to mingw-w64, question arises:
> 
> Which files need adoption?
> 
> I have seen that in asmrun the amd64.S needs patches and in asmcomp the
> emit and proc mls.
> 
> Do I miss files?
We started to have some version that at least links (with patched flexdll) but 
runs in a nice segfault already ;)

Have uploaded the current changes to:
http://caml.inria.fr/mantis/view.php?id=5179

Greetings
Christoph

-- 
-------------------------------------- Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann@AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234