[Distutils] Compiling Python C++ extensions with MingW

David Abrahams dave@boost-consulting.com
Wed Dec 11 13:56:00 2002


"M.-A. Lemburg" <mal@lemburg.com> writes:

>> ap.cxx: undefined reference to `__gxx_personalit
>> y_v0'
>> dllwrap: gcc exited with status 1
>> error: command 'dllwrap' failed with exit status 1
>
> Looks like some lib is missing. Hard to tell which without
> a working MinGW installed :-)

That's not just "some lib", but a part of the C++ runtime. It may be
as simple as setting LD_LIBRARY_PATH to include the location of the
C++ runtimes shipped with mingw when linking.

-- 
                       David Abrahams
   dave@boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution