[issue1597850] Cross compiling patches for MINGW

2008-10-06 Thread rwmjones

rwmjones <[EMAIL PROTECTED]> added the comment:

I'm trying to use this patch to cross-compile Python under
Fedora, using the Fedora-MinGW project
(http://fedoraproject.org/wiki/MinGW)

IMHO the documentation is confusing.  It sounds from the
docs like CC_FOR_BUILD should be the native system
compiler -- eg. all the examples show CC_FOR_BUILD=gcc

But I didn't get very far at all doing that.  It seems that
what you mean is CC_FOR_BUILD=i686-pc-mingw32-gcc (ie. the
cross-compiler).

Also the extra patches added by lkcl are necessary to get
posixmodules.c to compile.  I'm trying 2.5.2 at the moment,
and while I haven't succeeded getting it all compiled yet,
it's very definitely necessary to fix posixmodules.c

--
nosy: +rwmjones

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1597850>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1597850] Cross compiling patches for MINGW

2008-10-06 Thread rwmjones

rwmjones <[EMAIL PROTECTED]> added the comment:

I'm very slowly working up a patch here (again 2.5.2).

Since I haven't actually got even python.exe compiled
yet I can't promise anything, but you never know ...

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1597850>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1597850] Cross compiling patches for MINGW

2008-10-08 Thread rwmjones

rwmjones <[EMAIL PROTECTED]> added the comment:

Just to clarify, in the MinGW case we are interested in:

"build" = Fedora Linux, usually i386 or x86-64 (but not always)
"host" = Windows i386

We can, to a limited extent, run the host binaries on the
build system, using Wine (the Windows emulator).  This doesn't
always work, and in any case is usually regarded as the wrong
thing to do because Wine is a very large and complicated build
dependency which requires, amongst other things, a working X
server.  Also since Wine doesn't run on anything which is
not x86-like, if we have to run Wine during the build then we
cannot cross-compile from other Fedora build systems, specifically
ppc and sparc.

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1597850>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com