From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA28692; Thu, 12 Aug 2004 15:11:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA28611 for ; Thu, 12 Aug 2004 15:11:32 +0200 (MET DST) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i7CDBVRM027851 for ; Thu, 12 Aug 2004 15:11:31 +0200 Received: from [127.0.0.1] (levensweg.cs.uu.nl [131.211.81.123]) (authenticated bits=0) by smtp-vbr8.xs4all.nl (8.12.11/8.12.11) with ESMTP id i7CDBULC019312 for ; Thu, 12 Aug 2004 15:11:31 +0200 (CEST) (envelope-from daan@cs.uu.nl) Message-ID: <411B6C89.2040907@cs.uu.nl> Date: Thu, 12 Aug 2004 15:11:37 +0200 From: Daan Leijen User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] Compiling on windows (mingw) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Miltered: at concorde with ID 411B6C83.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; daan:01 daan:01 mingw:01 windowsxp:01 mingw:01 cygwin:01 ocamlopt:01 ocamlrun:01 ocamlopt:01 stdlib:01 pervasives:01 cmx:01 cmx:01 char:01 hashtbl:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 [snip] ../boot/ocamlrun ../ocamlopt -a -o stdlib.cmxa pervasives.cmx array.cmx list.cmx char.cmx string.cmx sys.cmx hashtbl.cmx sort.cmx marshal.cmx obj.cmx int32.cmx int64.cmx nativeint.cmx lexing.cmx parsing.cmx set.cmx map.cmx stack.cmx queue.c 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 stringLab els.cmx moreLabels.cmx stdLabels.cmx ar: @c:\DOCUME~1\Daan\LOCALS~1\Temp\camlresp025be4: Invalid argument Error while creating the library stdlib.a [snip] Maybe someone else on this list has experienced this problem too? Thanks for the help, All the best, Daan Leijen. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners