How to receive a FILE* from Python under MinGW?
Carl Douglas
carl.douglas at gmail.com
Wed Mar 21 02:50:35 EDT 2007
On 20 Mar 2007 23:12:45 -0700, John Pye <john.pye at gmail.com> wrote:
> On Mar 21, 4:49 pm, "Carl Douglas" <carl.doug... at gmail.com> wrote:
> > 1) Rebuild Python with a different compiler/linker kit so it links to
> > the same CRT as my project, in your case find a mingw built Python.dll
> >
> > 2) Rebuild [with MSVC]
>
> OK, so let's say that I must support EXISTING installations of Python
> 2.4 on computers I have no control over. And let's say that I detest
> MSVC and want to push on with MinGW at all costs. What then?
>
> I read something about being using '-lmsvcrt71' or '-lmsvcrt' with
> GCC...?
>
You could try using dumpbin and dlltool to generate an import library
for gcc from msvcrt71.dll. Perhaps this might work... I have never
tried it.
Search the web for "mingw dumpbin dlltool".
HTH
> JP
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list