COFF2OMF C++ Builder 4

John Machin sjmachin at lexicon.net
Sat Feb 16 03:07:07 EST 2002


Carl Caulkett <carlca at dircon.co.uk> wrote in message news:<MPG.16d7dccfbfb730039896d6 at newnews.dircon.co.uk>...
> In article <2830c89c.0202150629.5a6b711f at posting.google.com>, 
> andrew.gregory at npl.co.uk says...
> > Trying to create BCB4 DLLs which can be imported into Python 2.2
> > COFF2OMF python22.lib new.lib gave me error message "Invalid COFF file".
> > What is the easiest way to fix this?
> 
> Hi Andrew,
> 
> This page may help. 
> 
> http://www.cyberus.ca/~g_will/pyExtenDL.shtml
> 
> It's oriented towards the Borland C++ v5.5 command line tools which is 
> based on the BCB5 compiler back-end. Hopefully it will be relevant to 
> BCB4 as well. I can confirm that I have been able to compile PYDs using 
> the info on this page.

Gordon's info (N.B. page last updated some time in 2000) was extremely
useful, before distutils came out. Distutils makes compiling
extensions on Windows a snap; it supports using the Borland freebie
kit or the MinGW compiler as well as the Microsoft VC++ product.



More information about the Python-list mailing list