[Distutils] Automatically detect wrong lib-format for borland compiler?

Thomas Heller thomas.heller@ion-tof.com
Thu Sep 28 15:38:02 2000


I just had the idea to make bcccompiler a little bit
more robust.

By default, python is delivered with pythonxx.lib
and pythonxx_d.lib import libraries generated by MSVC,
which are in COFF format. By inspection I found
that these libraries start with the bytes '!<arch>./'
(without the single quotes).

Shouldn't we open these files and issue a warning
or error if they start with these bytes?
We could even invoke borland's coff2omf utility
to convert them...

Thomas