Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] getting the type of a polymorphic data ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-12 (13:11)
From: Daan Leijen <daan@c...>
Subject: [Caml-list] Compiling on windows (mingw)
Hi all,

I am trying to compile the glorious ocaml compiler from source on
windowsXP using mingw32 (and cygwin tools). However when I try to
compile ocamlopt, the build fails on the "ar" utility:

 > make -f Makefile.nt opt


../boot/ocamlrun ../ocamlopt -a -o stdlib.cmxa pervasives.cmx array.cmx 
  char.cmx string.cmx sys.cmx hashtbl.cmx sort.cmx marshal.cmx obj.cmx 
int64.cmx nativeint.cmx lexing.cmx parsing.cmx set.cmx map.cmx stack.cmx 
mx stream.cmx buffer.cmx printf.cmx format.cmx scanf.cmx arg.cmx 
printexc.cmx gc
.cmx digest.cmx random.cmx callback.cmx camlinternalOO.cmx oo.cmx 
genlex.cmx wea
k.cmx lazy.cmx filename.cmx complex.cmx arrayLabels.cmx listLabels.cmx 
els.cmx moreLabels.cmx stdLabels.cmx
ar: @c:\DOCUME~1\Daan\LOCALS~1\Temp\camlresp025be4: Invalid argument
Error while creating the library stdlib.a


Maybe someone else on this list has experienced this problem too?

Thanks for the help,
All the best,
  Daan Leijen.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: