I am new to Frama-C and wanted to ask what could be causing this issue:
When I run the E-ACSL wrapper script on annotated code with no header files, the a.out.e-acsl file is properly created.
However, when I try to include header files using -E and -I, the wrapper script fails to print anything and does not generate any files.
e-acsl-gcc.sh -E "-I src/include -I ..." main.c
I noticed that this issue happens specifically when the -I option is added.
I am using Frama-C 24.0 (Chromium). Any help would be appreciated. Thanks.
I just added a detail to this answer which should help here: the issue is that
e-acsl-gcc.shcannot handle spaces between-I/-Dand its arguments.GCC accepts both
-I dirand-Idir, but fore-acsl-gcc.sh, only-Idirshould be used.So, the following should hopefully work: