Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compiling OCaml 3.04 under Win+VC6
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Warp <warplayer@f...>
Subject: [Caml-list] Compiling OCaml 3.04 under Win+VC6
Hello
I got some problems compiling under Windows and VC6 :
- for win32unix, the include path declared in config/Makefile.nt as SYSTEM_INCLUDES should be a copy of INCLUDE environment variable, defined by VCVARS32.bat. I needed to set it to the good path.
- problems building camlp4 : it seems that the $(MAKE) is switching to standard GCC "make", which is in the "program files\gcc\bin" directory on my system ( I know that spaces in paths are not a good idea, but..... ). So we got that :

    cd ../camlp4; c:/program files/gcc/bin/make.exe OTOP=../../.. CAMLP4=../meta/camlp4r.exe .....
c:/program : not found

so I have to replace $(MAKE) by only 'make' because I didn't find where does that MAKE come from ( under Win32, filespath should be put between quotation marks ( "c:/program files/gcc/bin/make.exe" ).

---

Using the generated ml files ( opcodes, parser, config, etc... ), I managed to build the byterun system under VC6 using CamlMake.

Warp