This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author James Salter
Recipients James Salter, dstufft, eric.araujo
Date 2015-07-20.11:05:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Encountered trying to build numpy with python 3.5b3, visual studio 2015.

From distutils/

        if self._need_link(objects, output_filename):
            ldflags = (self.ldflags_shared_debug if debug
                       else self.ldflags_shared)
            if target_desc == CCompiler.EXECUTABLE:
                ldflags = ldflags[1:]


        self.ldflags_shared = [
            '/nologo', '/DLL', '/INCREMENTAL:NO'
        self.ldflags_shared_debug = [
            '/nologo', '/DLL', '/INCREMENTAL:no', '/DEBUG:FULL'

Which leads to a DLL being created instead of a .exe.

I have attached a patch that explicitly removes '/DLL' rather than trimming by index.
Date User Action Args
2015-07-20 11:05:19James Saltersetrecipients: + James Salter, eric.araujo, dstufft
2015-07-20 11:05:19James Saltersetmessageid: <>
2015-07-20 11:05:19James Salterlinkissue24673 messages
2015-07-20 11:05:19James Saltercreate