[Python-Dev] Python with MinGW-2.0?

David Abrahams David Abrahams" <david.abrahams@rcn.com
Sat, 5 Oct 2002 00:23:07 -0400


From: "Andrew MacIntyre" <andymac@bullseye.apana.org.au>

> My limited experience with MingW 1.1 and a DLL that contained data (and
> code) in the import library as well as the imports suggests that the
> import library has to be rebuilt to the .a format and split between
static
> (code+data objs) and dynamic (import) libraries.  This is messy & tedious
> to do, but seems to work (I couldn't figure out a way to combine the
> static objs & imports into the one .a library, though I wasn't able to
> spend a great deal of time on it).
>
> I gather MS "enhanced" the import library format somewhere along the
line,
> and MingW's ld doesn't deal with it (yet).

Thanks, For some reason I didn't have to do any of that with MinGW 1.1, but
for MinGW-2.0, I did. Wasn't too painful, though: Gerhard sent a pointer to
these instructions which made everything work (after substantial code
massage):

http://www.python.org/doc/current/inst/non-ms-compilers.html#SECTION0003120
00000000000000


-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave@boost-consulting.com * http://www.boost-consulting.com