[pypy-dev] m.lib
Armin Rigo
arigo at tunes.org
Mon Aug 15 22:43:44 CEST 2005
Hi,
On Mon, Aug 15, 2005 at 02:44:59PM +0200, Christian Tismer wrote:
> >Does anyone know what m.lib is, as alot of the executables produced seem
> >to want to link with it, and I don't have it! (This is on Windows, usgin
> >cygwin)
>
> I got the same problem. It appears to be a glitch with
> distutils, which to my knowledge were not made for
> production of standalone executables. At least it works
> when producing an extension module.
It's the math lib, needed for <math.h> on Linux. In
translator/tool/cbuild.py, we just add 'm' to the list of libraries to
compile a standalone program. I guess we need to be more subtle here...
Armin
More information about the Pypy-dev
mailing list