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] analysing already preprocessed file


  • Subject: [Frama-c-discuss] analysing already preprocessed file
  • From: STEPHANE.DUPRAT at atosorigin.com (DUPRAT Stephane)
  • Date: Wed, 25 May 2011 14:54:34 +0000

Hello,

In the case where I have an already preprocessed file that I want to analyse with Frama-c without involving my compiler an other time.
I try to configure my cpp-command with a cat, for example :

>frama-c -cpp-command "cat" pp.c -print

But frama-c introduce a "-o" option that doesn't work of course with my cat :

[kernel] preprocessing with "cat  pp.c"
cat: invalid option -- 'o'
Try `cat --help' for more information.
[kernel] user error: failed to run: cat  -o '/tmp/pp.cc494e6.i' 'pp.c'
                     you may set the CPP environment variable to select the proper preprocessor command or use the option "-cpp-command".

Is there any configuration, or workaround for doing that ?

Thanks in advance,

St?phane



________________________________

Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? du groupe Atos Origin ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110525/407fc622/attachment.htm>