[Python-Dev] Linux Python linking with G++?

David Abrahams dave at boost-consulting.com
Thu Jul 7 20:54:40 CEST 2005


Skip Montanaro <skip at pobox.com> writes:

>     >> Configure with --without-cxx to not use g++.  Since there is an
>     >> option in configure, I assume it is intentional.
>
>     Dave> O-kay... any idea what the rationale for this decision might be?
>
> I believe it's so that people can link in libraries written in C++ and have
> them initialized properly.

Can you give specifics?  What do you mean by "link in?"  Do you mean
"statically link into the Python interpreter," or something else?

Boost.Python is a library written in C++ and I've never had trouble
using it with a Python executable... until I ran into a Python that was
linked with libstdc++!

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



More information about the Python-Dev mailing list