From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=DNS_FROM_RFC_POST,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id CE4F7BB84 for ; Sun, 1 Feb 2009 04:34:47 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8CAPamhEnRVdoKkGdsb2JhbACTVj8BAQEBCQkMBxEDpT2BAoxaAQMBA4QRBoIIgzc X-IronPort-AV: E=Sophos;i="4.37,357,1231110000"; d="scan'208";a="22310762" Received: from mail-bw0-f10.google.com ([209.85.218.10]) by mail3-smtp-sop.national.inria.fr with ESMTP; 01 Feb 2009 04:34:47 +0100 Received: by bwz3 with SMTP id 3so741969bwz.3 for ; Sat, 31 Jan 2009 19:34:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=yoTvt7+kfFsNZNlZmX6/ipj7BupaQnfx+WMvPK1mAfU=; b=DmIAVB8/Dzz0EIcRYyEj6SRiCTHPYxMFr0wVHP9RSLgJxMARYf5k5Y7gKTJr38G81p JayoAKqXq8D8kn1Lpfezlbz8YlsFe5ROkTbfipswtRizTGZj8UfogNyrk6r6ifibRoxp J+hberNNB3cyCqO/NSA5QSzbaMivsrwjWnIyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=YGaY3E4Q0lD86LghnIy+zSQ1G8ODW/+bYimdkcK2lvE717l82h67h6R1LL2nDJJcTM MRHg6GGBpHcGSFA4E889rbpcMuKDe/uPMzkMkwM2c1SqD0W5eOuyKkjQ2vH3EXtxg4be 9jgQZR+qo0xVU7MvBt3pl5r4emlkXRLoHsGAU= Received: by 10.103.217.5 with SMTP id u5mr640619muq.42.1233459286662; Sat, 31 Jan 2009 19:34:46 -0800 (PST) Received: from ?112.110.10.75? ([112.110.10.75]) by mx.google.com with ESMTPS id e10sm1748155muf.48.2009.01.31.19.34.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 31 Jan 2009 19:34:45 -0800 (PST) Message-ID: <4985185D.4000109@gmail.com> Date: Sun, 01 Feb 2009 09:04:53 +0530 From: Shailesh Khandekar User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Sam Block Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Help on installing OCaml on Windows XP References: <37AC9FC7-8323-45C4-9AD3-2B9C6D9DF913@virginia.edu> In-Reply-To: <37AC9FC7-8323-45C4-9AD3-2B9C6D9DF913@virginia.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ocaml:01 ocamlopt:01 cygwin:01 ocaml:01 mingw:01 ocamlopt:01 binutils:01 cygwin:01 mingw:01 sourceforge:01 msvc:01 msvc:01 caml-list:01 omitted:01 caml:02 Hello Sam, > Here's my goal: I want to run ocamlopt and have a binary executable > for my project on Windows and be able to give it to my friend and have > it run; this would rule out Cygwin, since I'd need extra .dll files. > I don't want that, so I wanted to go ahead and download one of the > other OCaml binary installables (MSVC or MinGW). However, I tried > both, and I keep getting the same error: > >>> ocamlopt -o geomancian figures.ml geomancian.ml >> >> 'as' is not recognized as an internal or external command, operable >> program or batch file. >> File "figures.ml", line 1, characters 0-1: >> Error: Assembler error, input left in file > omitted>\camlasme1fe97.s Ocamlopt is looking for the assembler, i.e. 'as' command. Looks like the binutils is missing on the target machine. You can get it from: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=11290&release_id=19108 The Ocaml download page for binary distribution for Microsoft Windows at: http://caml.inria.fr/download.en.html mentions that, some features require the Cygwin environment (for MinGW) and similar for MSVC. I'm curious to find out whether it would work with just a mingw-msys installation, without using Cygwin. Waiting for the download to finish on my machine. Best regards, Shailesh S. Khandekar, Pune.