caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <alain@frisch.fr>
To: Andre Tampubolon <andre@lc.vlsm.org>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Cannot build OCaml using Cygwin
Date: Wed, 16 Dec 2009 17:00:24 +0100	[thread overview]
Message-ID: <4B290418.5030901@frisch.fr> (raw)
In-Reply-To: <1c0c59270912160748y764625e2i61a81890826b1b08@mail.gmail.com>

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



  reply	other threads:[~2009-12-16 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-16 15:48 Andre Tampubolon
2009-12-16 16:00 ` Alain Frisch [this message]
2009-12-20 23:46   ` [Caml-list] " Gerd Stolpmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B290418.5030901@frisch.fr \
    --to=alain@frisch.fr \
    --cc=andre@lc.vlsm.org \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).