caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Building ocaml on Win32 using VS 2008
@ 2010-04-14 16:46 Lally Singh
  2010-04-14 16:54 ` [Caml-list] " Alain Frisch
  0 siblings, 1 reply; 7+ messages in thread
From: Lally Singh @ 2010-04-14 16:46 UTC (permalink / raw)
  To: caml-list

Hello,

  Has anyone had any success building ocaml on Win32 using VS 2008?
The normal ocaml/win32 distribution's libcamlrun.a wants some symbols
no longer available on the newer runtime libraries (e.g. __pctype and
__alloca).

  I wiped my old cygwin install (which included, amongst other things,
ocaml and gcc), and made a minimal bash/sed/make/diffutils one, and
ran make under the Visual Studio 2008 Command Prompt.  With some path
adjustment for flexlink, I can get as far as this:

cp yacc/ocamlyacc.exe boot/ocamlyacc.exe
cd stdlib ; make -f Makefile.nt  COMPILER=../boot/ocamlc all
make[1]: Entering directory
`/c/real_cygwin/home/lsingh9/src/ocaml-3.11.2/stdlib'
../boot/ocamlrun ../boot/ocamlc -g -warn-error A -nostdlib
`./Compflags pervasives.cmi` -c pervasives.mli
Fatal error: unknown C primitive `caml_alloc_dummy'
make[1]: *** [pervasives.cmi] Error 2
make[1]: Leaving directory `/c/real_cygwin/home/lsingh9/src/ocaml-3.11.2/stdlib'

Which leaves me rather confused.  Does anyone know what I'm doing wrong?

Thanks in advance,
-Lally


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-04-14 20:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-14 16:46 Building ocaml on Win32 using VS 2008 Lally Singh
2010-04-14 16:54 ` [Caml-list] " Alain Frisch
2010-04-14 17:13   ` Lally Singh
2010-04-14 17:32     ` Alain Frisch
2010-04-14 17:48       ` Dmitry Bely
2010-04-14 18:38     ` Sylvain Le Gall
2010-04-14 20:58       ` [Caml-list] " Lally Singh

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).