English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Cannot build OCaml using Cygwin
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-12-16 (15:48)
From: Andre Tampubolon <andre@l...>
Subject: Cannot build OCaml using Cygwin

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
-bitfields -Wall -Wno-unused -c interp.c
gcc: The -mno-cygwin flag has been removed; use a mingw-targeted

make[1]: *** [interp.o] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin/home/ocaml-3.11.1/byterun'
make: *** [coldstart] Error 2

I don't understand. I already installed the mingw package. What's wrong