[C++-sig] new to python; old to C++

Roman Yakovenko roman.yakovenko at gmail.com
Sun Nov 2 08:39:56 CET 2008


On Sat, Nov 1, 2008 at 10:42 PM, Alan Baljeu <alanbaljeu at yahoo.com> wrote:
> On Sat, Nov 1, 2008 at 3:32 AM, Alan Baljeu <alanbaljeu at yahoo.com> wrote:
>>> My first impression of Py++ is that it generates stuff for Boost.Python to use to connect
>>>Python to C++.  To get it going I also need to introduce GCC, and probably
>>>Cygwin.  That seems like a lot of layers.  Does this not make for a
>>> complicated system, with a lot to learn?
>
>> Where did you read this. Py++ has dependency on GCC-XML, not on GCC,
>> neither on cygwin.
>
> http://www.language-binding.net/pyplusplus/pyplusplus.html says:
> """
>
> Py++ does not reinvent the wheel. It uses GCC C++ compiler to parse C++
> source files. To be more precise, the tool chain looks like this:
>        1. source code is passed to GCC-XML
>        2. GCC-XML passes it to GCC C++ compiler
>        3. GCC-XML generates an XML description of a C++ program from GCC's internal
> representation.

GCCXML indeed used GCC to parse C++ code. GCCXML "embeds" GCC. The
only GCCXML requirement is a C\C++ compiler, so you can build it from
source code.
You don't have to install cygwin.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/


More information about the Cplusplus-sig mailing list