From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 0A413BC37 for ; Wed, 16 Dec 2009 17:00:27 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuoGAAqTKEvB/Bd4YGdsb2JhbACYeYJIFwkKBxEBBrpjhCsE X-IronPort-AV: E=Sophos;i="4.47,406,1257116400"; d="scan'208";a="52234525" Received: from smtp-msa-out01.orange.fr ([193.252.23.120]) by mail4-smtp-sop.national.inria.fr with ESMTP; 16 Dec 2009 17:00:26 +0100 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf5a04.orange.fr (SMTP Server) with ESMTP id 3EC1A1C00086; Wed, 16 Dec 2009 17:00:26 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf5a04.orange.fr (SMTP Server) with ESMTP id 269F31C002C9; Wed, 16 Dec 2009 17:00:26 +0100 (CET) Received: from [192.168.1.53] (APuteaux-154-1-4-126.w83-199.abo.wanadoo.fr [83.199.65.126]) by mwinf5a04.orange.fr (SMTP Server) with ESMTP id CD5981C00086; Wed, 16 Dec 2009 17:00:25 +0100 (CET) X-ME-UUID: 20091216160025841.CD5981C00086@mwinf5a04.orange.fr X-ME-User-Auth: lexifi Message-ID: <4B290418.5030901@frisch.fr> Date: Wed, 16 Dec 2009 17:00:24 +0100 From: Alain Frisch User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Andre Tampubolon Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Cannot build OCaml using Cygwin References: <1c0c59270912160748y764625e2i61a81890826b1b08@mail.gmail.com> In-Reply-To: <1c0c59270912160748y764625e2i61a81890826b1b08@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; frisch:01 frisch:01 ocaml:01 cygwin:01 ocaml:01 cygwin:01 makefile:01 byterun:01 makefile:01 cygdrive:01 ocaml-:01 byterun':01 gcc:01 -mno-cygwin:01 stdlib:01 On 16/12/2009 16:48, Andre Tampubolon wrote: > I'm trying to build OCaml 3.11.1 using Cygwin. > It's still unsuccessful. > > $ make -f Makefile.nt world > cd byterun ; make -f Makefile.nt all > make[1]: Entering directory `/cygdrive/c/cygwin/home/ocaml-3.11.1/byterun' > gcc -mno-cygwin -DOCAML_STDLIB_DIR='"C:/ocamlmgw/lib"' -I"C:\cygwin\bin" > -O -mms > -bitfields -Wall -Wno-unused -c interp.c > gcc: The -mno-cygwin flag has been removed; use a mingw-targeted > cross-compiler. Recent versions of gcc under Cygwin don't support the -mno-cygwin flag. You can still install and use the gcc-3 packages. What I usually do is to copy /bin/gcc-3.exe into $HOME/bin/gcc.exe (and to this directory in front of your PATH). -- Alain