Hi ,
I want to build cil on windows7 using msvc compiler "cl". But i have met the 
following question:

the build environment :
1、ocaml 3.11 (windows binary version)
2、cil 1.3.7
3、cygwin 1.7.9
4、msvc "cl" compiler

When i build cil with ocaml 3.08,erverything is ok. For the need of project , i 
want to use the c and ocaml mixing programming interface , so on windows 
platform ocaml 3.11 version and above is required ( because we need 
"ocamlmklib" tool for making dll library on windows). 

After building cil , an error occurred ( after bash -c "make WIN32=1 
quickbuild" command):
flexlink : can not find command ....

So i install flexdll-0.26 binary version , then build cil again , the preceding 
error passed , but another error occured :
Linking bytecode obj/x86_WIN32/cilly.byte.exe
+ flexlink -merge-manifest -exe -o "obj/x86_WIN32/cilly.byte.exe" "-LD:/Progra
m Files/Objective Caml/lib" "C:\Users\Suting\AppData\Local\Temp\camlprim86b256.c
" "-lstr" "-lunix" "ws2_32.lib" "-lunix" "-lstr" "obj/x86_WIN32/perfcount.obj" "
-lcamlrun" advapi32.lib ws2_32.lib /Zi /Od
camlprim86b256.c
** Fatal error: Cannot find file "/Zi"
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system
make: *** [obj/x86_WIN32/cilly.byte.exe] Error 2

So can you give me any suggestion ? I will appreciate it .
ps: I do not think "/Zi" is the file , i find out it's just the option of cil 
compiler .


2011-08-15 



823797879 
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to