Extensions with LCC

Gordon Williams g_will at cyberus.ca
Tue Oct 31 08:27:55 EST 2000


If you are looking to create an extension quickly you can use the Borland
compiler.  See below.  Make sure that you download the correct version for
the version of Python that you are using.

Regards,
Gordon Williams

*** Creating Python Extensions Using Borland's Free Compiler V3.0***

I am pleased to announce a set of step-by-step instructions and examples to
create extensions using the free Borland Command Line Compiler with the
standard Python Windows Binary Distribution.

This information can be found at

http://www.cyberus.ca/~g_will/pyExtenDL.shtml .

Version 3.0 updates the linking library to Python 2.0 and removes an
obsolete patch for the Python 1.5.2 config.h file.  I have also added a
section about using VIDE (http://www.objectcentral.com/), a free and useful
IDE for Borland and other compilers.


**********************************************************************
ABSTRACT

This paper describes the method used to create Python Extensions using the
Borland 5.5 C++ Compiler (BCC). This command line compiler is available
free from http://www.borland.com/bcppbuilder/freecompiler/. I describe the
steps that are necessary to produce the extension from the C source code
and how to set up the associated files for the compiler and linker. These
extensions work with the standard Windows Distribution of Python. The
process used to produce the extension is very easy and consists of running
a simple batch file that I provide as part of this package. A section is
provided
on how to create extensions using VIDE to make it even easier.  I also have
some examples and a short reference section at the end of this paper that
may be helpful.

 Gordon Williams
g_will at cyberus.ca


"Kimmo Pääkkönen" <Kimmo.Paakkonen at helsinki.fi> wrote in message
news:39FD7EDC.EF818DA2 at helsinki.fi...
>   Hi,
>   I'm new to Python, so these questions may be trivial or some basics
> may be not well understood (at least I feel puzzled enough :).
>   I'm trying to compile an extension to the Python. I'm working on
> Windows NT and as a compiler I use (freely available) LCC compiler,






More information about the Python-list mailing list