[Distutils] re: Cross-compilation support in distutils?

Bastian Kleineidam wurst2 at kampfwurst.net
Sat Oct 16 23:36:36 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Oct 16, 2004 at 12:59:25PM -0700, Dan Kegel wrote:
> >(Beyond that of yours truly.)  If so, I'd like to get a discussion going
> >on some options for how to do this - especially, I'd like to have a way
> >to specify via configure arguments or a python script which libraries to
> >include.
> 
> Yes, yes, yes.
I wrote a little howto with details about linux -> win32 cross
compilation with the mingw32 compiler.
It is here: http://kampfwurst.net/python-mingw32/

For setup.py I used the CC and LDSHARED environment variables to
specify the mingw compiler and linker. Includes and LDFLAGS are handled
by setup.py itself.

Greetings, Bastian
- -- 
  ,''`.    Bastian Kleineidam  .  calvin (at) debian.org
 : :' :
 `. `'    GnuPG Schlüssel http://kampfwurst.net/gpgkey.txt
   `-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBcZRkeBwlBDLsbz4RAh1MAKDNf8W9Z5HPOkHuq1gA5ULyl6FHkQCg0aWX
f5qZATJY/yyRSWHW+Hte5dM=
=XTgk
-----END PGP SIGNATURE-----


More information about the Distutils-SIG mailing list