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 PAA28042; Thu, 12 Aug 2004 15:22:58 +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 PAA28632 for ; Thu, 12 Aug 2004 15:22:57 +0200 (MET DST) Received: from yquem.inria.fr (yquem.inria.fr [128.93.8.37]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i7CDMuRM029267; Thu, 12 Aug 2004 15:22:57 +0200 Received: by yquem.inria.fr (Postfix, from userid 18180) id CA86BBC7B; Thu, 12 Aug 2004 15:22:56 +0200 (CEST) Date: Thu, 12 Aug 2004 15:22:56 +0200 From: Xavier Leroy To: Daan Leijen Cc: caml-list@inria.fr Subject: Re: [Caml-list] Compiling on windows (mingw) Message-ID: <20040812132256.GA26962@yquem.inria.fr> References: <411B6C89.2040907@cs.uu.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <411B6C89.2040907@cs.uu.nl> User-Agent: Mutt/1.3.28i X-Miltered: at concorde with ID 411B6F30.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 mingw:01 daan:01 windowsxp:01 mingw:01 cygwin:01 ocamlopt:01 daan:01 cygwin:01 compiler:01 ocaml:01 ocaml:01 command:98 compile:02 compile:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Daan, > 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: > ar: @c:\DOCUME~1\Daan\LOCALS~1\Temp\camlresp025be4: Invalid argument > Maybe someone else on this list has experienced this problem too? I suspect the wrong "ar" is called. It should be the "ar" that comes with Cygwin, and not the one that comes with the standalone Mingw distribution. The latter doesn't handle long command lines via "response files". More generally, the installation instructions weren't too clear on this but I tried to clarify them in 3.08: the "mingw" port of OCaml should be built with Cygwin and the Mingw stuff distributed along with Cygwin, but not with the standalone Mingw32 distribution. It's all very confusing, I know... Hope this helps, - Xavier ------------------- 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