Charles R Harris <charlesr.harris <at> gmail.com> writes: > On Sun, Oct 14, 2012 at 11:53 AM, Pauli Virtanen <pav <at> iki.fi> wrote: > Hi, > I'd like to link both C++ and Fortran code into a single > Python extension, using numpy.distutils (for scipy.special). > But it seems the distutils-based tools actually cannot do this? > Does someone know if there's a way to work around this? > > Looks like the answer is "no" ;) Is this a linking problem?
Pretty much. Knowing the Fortran or C++ runtime names / link flags on different compilers would be enough, but apparently this information is not written down anywhere in the build system. I guess I'll stick with the workaround of putting them in separate modules. Pauli _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion