A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025283.html below:

[Python-Dev] Please give this patch for building bsddb a try

[Python-Dev] Please give this patch for building bsddb a try [Python-Dev] Please give this patch for building bsddb a tryGerhard Häring haering_python@gmx.de
Tue, 11 Jun 2002 21:58:48 +0200
* Oleg Broytmann <phd@phd.pp.ru> [2002-06-11 23:48 +0400]:
> On Tue, Jun 11, 2002 at 09:00:24PM +0200, Martin v. Loewis wrote:
> > Skip Montanaro <skip@pobox.com> writes:
> > 
> > > This would require source code changes to keep global symbols (at
> > > least the module init functions) from clashing.
> > 
> > It actually only requires different init functions. To support that
> > with distutils, you need to tell distutils to generate different
> > object files from the same source file, which is probably not
> > supported out of the box.
> 
> I know. Once I thought about sed/awk magic to generate two different
> modules from one template.

What about symlinks, like:

bsd18module.c -> bsd30module.c
                 bsd30module.c

and using a few #ifdefs in the C sources?

Gerhard
-- 
This sig powered by Python!
Außentemperatur in München: 17.1 °C      Wind: 1.7 m/s




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4