From: Ray K. <rh...@ne...> - 2000-09-29 23:51:00
|
Pete Shinners wrote: > > after chewing on the "single binary" idea, i've grown > to dislike it. the main reason that it ties the compile > process way to tightly to its dependencies. there's a > better way. > > so i'm putting all that aside and have created a > new, extremely simple distutil for pysdl that gets > pysdl compiled and linked to its dependencies. > it's pretty cool, and i'll release that here soon. > > in the meantime. if you haven't tried it before, > getting all the pysdl dependencies compiled under WIN > is a major chore. none of the packages compile > 'out of the box', but need paths changed and flags > altered to get each library happy. i've got a different > compiling script almost done that compiles each library > into its own .DLL and .LIB on windows. i'm just going > to add a little optional glue between this build and > what the pysdl distutil script can use. I've got patches for most of those libs (jpeg, gif, zlib, and freetype) to allow a cross compile of a DLL from linux -> win32. The same patches will also work with Sam's new mingw32 win32 native package. Binaries of the .dll/.a files are at http://www.libsdl.org/Xmingw32 and I can make the patches available to anyone who wants them. I believe that mingw32 is going to become the "officially supported" SDL win32 compile environment, from what Sam's been saying on IRC. It should also not be too difficult to build a VC .lib file from the dll using a tool like implib. -Ray |