Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] Problem running frama-c in Windows
- Subject: [Frama-c-discuss] Problem running frama-c in Windows
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- Date: Thu, 17 Jun 2010 09:29:15 +0200
- In-reply-to: <20100617090202.34abda96@is010235>
- References: <AANLkTimzXpxtRuf-_3mU2F1VMv48rONp8jkUYAUBGTCE@mail.gmail.com> <AANLkTikLItuq0iPEpz_SSBLwrNOv-an0gMyffn663V-c@mail.gmail.com> <AANLkTimps6TDCXm8HhkBl0odUUcrMaZ1N5uD5nWrcfRL@mail.gmail.com> <20100617090202.34abda96@is010235>
>> If pre-processing seems to be the problem, you can try to rename the >> > file "first.c" into "first.i" so that it is not pre-processed by >> > Frama-C. >> > >> >> I changed the name and then tried >> >> E:\Program Files\Frama-C\bin>frama-c.exe first.i >> >> but there was no result. Then I tried to load it as a .c source to the GUI > > Well, by default if you only pass a filename as argument without any > option, frama-c will only attempt to typecheck the source. To go back to the larger point, both frama-c and frama-c-gui seem to work as expected (not doing anything when invoked as "frama-c first.i" is the expect behavior as Virgile pointed out) when they are passed already pre-processed .i files. Frama-C shows the command it tries to use for pre-processing .c files, but if that doesn't work, you can instruct it to use another command with the -cpp-command option. Note that the "%1" and "%2" syntax in -cpp-command doesn't work if you have not applied the patch at: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/2010-May/002073.html so perhaps the simplest solution overall would be to always pre-process all your .c files as .i files yourself and invoke Frama-C only on the .i files. Pascal
- Follow-Ups:
- [Frama-c-discuss] Problem running frama-c in Windows
- From: ricardoalmeida1985 at gmail.com (Ricardo Almeida)
- [Frama-c-discuss] Problem running frama-c in Windows
- References:
- [Frama-c-discuss] Problem running frama-c in Windows
- From: ricardoalmeida1985 at gmail.com (Ricardo Almeida)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: ricardoalmeida1985 at gmail.com (Ricardo Almeida)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Problem running frama-c in Windows
- Prev by Date: [Frama-c-discuss] Problem running frama-c in Windows
- Next by Date: [Frama-c-discuss] Problem with loop invariant
- Previous by thread: [Frama-c-discuss] Problem running frama-c in Windows
- Next by thread: [Frama-c-discuss] Problem running frama-c in Windows
- Index(es):