On Tue, Feb 10, 2009 at 8:42 AM, wrote:
> let's assume I (almost) have and extension available as a C file and
> the setup.py and I want to generate from this single c file 2 .so
> files using
>
> cc -DOPTION1 x.c to produce x_1.so
> cc -DOPTION2 x.c to produce x_2.so
>
> and at runtime depending
let's assume I (almost) have and extension available as a C file and
the setup.py and I want to generate from this single c file 2 .so
files using
cc -DOPTION1 x.c to produce x_1.so
cc -DOPTION2 x.c to produce x_2.so
and at runtime depending of my OS version either load x_1 or x_2
any (easy) way