[ODE] python bindings?

Matthias Baas baas at ira.uka.de
Fri May 23 09:16:02 2003


At 08:13 18.05.2003 +0100, Paul Rudin you wrote:
> > I may not be remembering correctly, but make sure that:
> >
> >     * You link C++ programs with g++ and not gcc.
>
>Yes - this turns out to be the problem... although in this case gcc
>was being invoked indirectly for me by the python setup machinery. So
>I'm guessing that it's really either a minor bug in the python
>distutils stuff or else in Matthias's setup script?

I also compiled it on Linux (SuSE 8.1) and haven't had those problems...?
Anyway, I'll try to use a C++ file extension for the Pyrex generated file 
so that hopefully the module gets compiled using g++ on all machines.

>(Incidentally - a very minor observation: on my linux box pyrex
>apparently can't cope with the dos style line ends in ode.pyx.)

If I remember correctly they wanted to fix this in Python 2.3, so that any 
implementation will be able to deal with DOS and Unix style newlines.
But what's the general way to solve this problem for previous versions? 
Should I also provide a *.tar.gz which contains Unix style files?

- Matthias -