On Thu, Jul 21, 2011 at 06:41:53PM -0400, Feng Zhu wrote:
>     To use cilly in MSVC mode, I:
>     1. set environment variables.
>     2. launch the Visual Studio Command Prompt (2010)
>     3. launch Cygwin in it
>     4. test cilly (cilly --mode=MSVC test.c)
>     But I got a warning :
> 
>     Warning: Will work in MSVC mode but will be using machine-dependent
>     parameters for GCC since you do not have the MSVC compiler installed.

I do not use Windows but here is a quick hint:
./configure compiles and executes a small piece of C code to get
machine-dependent values.  Those values are then hard-coded in CIL (ie. used to
generate an OCaml file which contains them).

What most probably happens is that when you run ./configure, it does not find
msvc and thus compiles the C code with gcc (which is probably part of your
toolchain anyway).

I would advise you to re-run ./configure, looking carefully at the output
(maybe submitting it here).  It might be a bug in CIL, for sure, so do not
hesitate to report on your findings or submit a patch :-)

Best,
-- 
Gabriel

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to