<p style="padding:0 0 0 0; margin:0 0 0 0;">Tady je spuštěný můj program v cmd:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">D:\Python25>python "c++-python.py" build -c mingw32<br />
running build<br />
running build_ext<br />
building 'demo' extension<br />
gcc -mno-cygwin -mdll -O -Wall -ID:\Python25\include -ID:\Python25\PC -c spam.cp<br />
p -o build\temp.win32-2.5\Release\spam.o<br />
error: command 'gcc' failed: No such file or directory</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">A tady je kód programu:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">from distutils.core import setup, Extension</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">module1 = Extension('demo',<br />
sources = ['spam.cpp'])</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">setup(name = 'PackageName',<br />
version = '1.0',<br />
description = 'This is a demo package',<br />
ext_modules = [module1])</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Tento program má načíst soubor c++, děkuji za jakoukoliv rad.</p>