Message144901
| Author |
loewis |
| Recipients |
Christophe Simonis, Garen, Nam.Nguyen, amaury.forgeotdarc, arekm, asvetlov, barry, doko, eric.araujo, georg.brandl, jcea, jeremybanks, lars.gustaebel, leonov, loewis, nadeem.vawda, nicdumz, nikratio, ockham-razor, pitrou, proyvind, rcoyner, shirish, strombrg, thedjatclubrock, tshepang, ysj.ray |
| Date |
2011年10月04日.16:56:44 |
| SpamBayes Score |
2.9809488e-14 |
| Marked as misclassified |
No |
| Message-id |
<4E8B3ACA.4020309@v.loewis.de> |
| In-reply-to |
<1316207701.26.0.62836662317.issue6715@psf.upfronthosting.co.za> |
| Content |
> - liblzma can't be compiled by Visual Studio: too many C99 isms,
> mostly variables declared in the middle of a block. It's doable for
> sure, but it's a lot of work.
I'd be in favor of doing so, and then feeding patches upstream.
Hopefully, eventually, the code would compile out of the box on VS.
> - liblzma is normally compiled with mingw, but we have to be sure
> that is uses the correct MSCRT C runtime, and what about debug
> builds?
In principle, it's not necessary to use the same CRT, as long as
we aren't passing CRT objects across DLL boundaries (memory
blocks managed by malloc/free would be candidates). I haven't reviewed
the module to find out whether the liblzma interface involves CRT
objects.
> - The way recommended by XZ is to use a precompiled liblzma.dll; Then
> it should be easy to build an extension module, but its would be the
> first time that we distribute an extension module which needs a
> non-system DLL. Is it enough to copy it next to _lzma.pyd? Is there
> some work to do in the installer?
It wouldn't actually be the first time. We also ship Tcl DLLs. But
it's a pain, so it would be much better if the sources were actually
referenced in the VS project - so we would not need a library at all. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年10月04日 16:56:45 | loewis | set | recipients:
+ loewis, barry, georg.brandl, doko, jcea, amaury.forgeotdarc, arekm, lars.gustaebel, pitrou, nadeem.vawda, nicdumz, eric.araujo, Christophe Simonis, rcoyner, proyvind, asvetlov, nikratio, leonov, Garen, ysj.ray, thedjatclubrock, ockham-razor, strombrg, shirish, tshepang, jeremybanks, Nam.Nguyen |
| 2011年10月04日 16:56:44 | loewis | link | issue6715 messages |
| 2011年10月04日 16:56:44 | loewis | create |
|