Alek Paunov wrote:
>
> gcc-python-plugin URLs are:
> 
> http://git.fedorahosted.org/cgit/gcc-python-plugin.git/
> https://github.com/davidmalcolm/gcc-python-plugin
> https://gcc-python-plugin.readthedocs.org/en/latest/index.html
> [email protected]

OK, I start from git source :

zfrdh@tux02:~/work/gcc-python-plugin> make PYTHON=python2
PYTHON_CONFIG=python2-config
python2 generate-config-h.py -o autogenerated-config.h --gcc="cc"
--plugindir="plugin"
/home/zfrdh/work/gcc-python-plugin/configbuilder.py:126: Warning: 'with'
will become a reserved keyword in Python 2.6
Traceback (most recent call last):
  File "generate-config-h.py", line 21, in <module>
    from configbuilder import ConfigBuilder
  File "/home/zfrdh/work/gcc-python-plugin/configbuilder.py", line 126
    with open(self.filename, 'w') as f:
            ^
SyntaxError: invalid syntax
make: *** [autogenerated-config.h] Error 1

Not my day :-)

And the next question is: How to set the correct compiler source tree. I
have installed a lot compiler versions, also for different plattforms
(arm, avr, powerpc, x86)

> 
> Easiest way to start is:
> yum install gcc-python2-plugin

not on my old suse installation :-)
I try next monday on a ubuntu box.

And also thanks for the lua environment. My intention was to do some
things with c++, first try was a jave script engine, next goes python
and now we have a lua plugin. Great, I have to learn some more languages
to walk through my c++ code :-)



Regards
 Klaus
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to