1
我已經安裝了Windows安裝程序的硼版本從框架-C網站http://frama-c.com/download.html郵資-C使用7
,當我嘗試運行VAL插件,我得到有關預處理程序錯誤varaible CPP沒有被設置爲如下:
C:\Frama-C\bin>frama-c.exe -val filename.cpp
[kernel] user error: failed to run: gcc -C -E -I. -o "C:\Users\akandoor\AppData\Local\Temp\filename.cpp4f5d23.i" "filename.cpp"
you may set the CPP environment variable to select the proper preprocessor command or use the option "-cpp-command".
[kernel] user error: skipping file "filename.cpp" that has errors.
[kernel] Frama-C aborted because of an invalid user input.
與-cpp命令我碰到下面的錯誤:
C:\Frama-C\bin>frama-c.exe -cpp-command 'C:\utils\cygwin\bin\gcc.exe -C -E -I. -
x c' filename.cpp
[kernel] user error: option `-C' is unknown.
use `frama-c.exe -help' for more information.
[kernel] Frama-C aborted because of an invalid user input.
任何線索/建議嗎?