From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA32076; Sun, 23 Dec 2001 23:05:35 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA31992 for ; Sun, 23 Dec 2001 23:05:34 +0100 (MET) Received: from apicra.wanadoo.fr (smtp-rt-3.wanadoo.fr [193.252.19.155]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id fBNM5X909057 for ; Sun, 23 Dec 2001 23:05:33 +0100 (MET) Received: from citronier.wanadoo.fr (193.252.19.222) by apicra.wanadoo.fr; 23 Dec 2001 23:05:33 +0100 Received: from warp (80.13.176.145) by citronier.wanadoo.fr; 23 Dec 2001 23:05:19 +0100 Message-ID: <003b01c18bfd$ac4feb30$91b00d50@warp> From: "Warp" To: "OCaml" Subject: [Caml-list] Compiling OCaml 3.04 under Win+VC6 Date: Sun, 23 Dec 2001 23:03:37 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0038_01C18C06.0DCC74C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0038_01C18C06.0DCC74C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3D../../.. = CAMLP4=3D../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 ------=_NextPart_000_0038_01C18C06.0DCC74C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello
I got some problems compiling under = Windows and VC6=20 :
- for win32unix, the include path = declared in=20 config/Makefile.nt as SYSTEM_INCLUDES should be a copy of INCLUDE=20 environment variable, defined by VCVARS32.bat. I needed to set it to the = good=20 path.
- problems building camlp4 : it seems = that the=20 $(MAKE) is switching to standard GCC "make", which is in the "program=20 files\gcc\bin" directory on my system ( I know that spaces in paths = are not=20 a good idea, but..... ). So we got that :
 
    cd ../camlp4; = c:/program=20 files/gcc/bin/make.exe OTOP=3D../../.. CAMLP4=3D../meta/camlp4r.exe=20 .....
c:/program : not found
 
so I have to replace $(MAKE) by only = 'make' because=20 I didn't find where does that MAKE come from ( under Win32, filespath=20 should be put between quotation marks ( "c:/program=20 files/gcc/bin/make.exe" ).
 
---
 
Using the generated ml files ( opcodes, = parser,=20 config, etc... ), I managed to build the byterun system under VC6 using=20 CamlMake.
 
Warp
------=_NextPart_000_0038_01C18C06.0DCC74C0-- ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr