[issue3754] cross-compilation support for python build

2011-05-19 Thread Greg Hellings

Changes by Greg Hellings :


--
nosy: +Greg.Hellings

___
Python tracker 
<http://bugs.python.org/issue3754>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2011-05-20 Thread Greg Hellings

Greg Hellings  added the comment:

Current patch errors with the following message:
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -L/manual/lib 
-L/binary/lib -L/manual/lib -L/binary/lib  Parser/acceler.o Parser/grammar1.o 
Pars
er/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o 
Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o 
Objects/obmalloc.o
Python/dynamic_annotations.o Python/mysnprintf.o Python/pyctype.o 
Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/parsetok_pgen.o 
Parser/pgenmain
.o -lintl -lpthread  -o Parser/pgen.exe
./Grammar/Grammar ./Include/graminit.h ./Python/graminit.c
./Grammar/Grammar: line 18: single_input:: command not found
./Grammar/Grammar: line 18: simple_stmt: command not found
./Grammar/Grammar: line 18: compound_stmt: command not found
./Grammar/Grammar: line 19: syntax error near unexpected token `NEWLINE'
./Grammar/Grammar: line 19: `file_input: (NEWLINE | stmt)* ENDMARKER'
make: *** [Parser/pgen.stamp] Error 2

--

___
Python tracker 
<http://bugs.python.org/issue3754>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2013-02-05 Thread Greg Hellings

Greg Hellings added the comment:

I'm trying to cross-compile the latest default out of Mercurial based on the 
status of this. Currently it fails with the following invocation:

$ ../configure --host=i686-w64-mingw32 --build=x86_64-redhat-linux-gnu 
--target=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32/sys-root/mingw 
--exec-prefix=/usr/i686-w64-mingw32/sys-root/mingw 
--bindir=/usr/i686-w64-mingw32/sys-root/mingw/bin 
--sbindir=/usr/i686-w64-mingw32/sys-root/mingw/sbin 
--sysconfdir=/usr/i686-w64-mingw32/sys-root/mingw/etc 
--datadir=/usr/i686-w64-mingw32/sys-root/mingw/share 
--includedir=/usr/i686-w64-mingw32/sys-root/mingw/include 
--libdir=/usr/i686-w64-mingw32/sys-root/mingw/lib 
--libexecdir=/usr/i686-w64-mingw32/sys-root/mingw/libexec 
--localstatedir=/usr/i686-w64-mingw32/sys-root/mingw/var 
--sharedstatedir=/usr/i686-w64-mingw32/sys-root/mingw/com 
--mandir=/usr/i686-w64-mingw32/sys-root/mingw/share/man 
--infodir=/usr/i686-w64-mingw32/sys-root/mingw/share/info --enable-ipv6 
--enable-shared --with-computed-gotos=yes --with-dbmliborder=gdbm:ndbm:bdb 
--with-system-expat --with-system-ffi --with-pydebug --with-tsc
checking for hg... found
checking build system type... x86_64-redhat-linux-gnu
checking host system type... i686-w64-mingw32
checking for python interpreter for cross build... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... configure: error: cross build not supported for 
i686-w64-mingw32
error: Bad exit status from /var/tmp/rpm-tmp.sZjjCl (%build)

This is in a Fedora 18 environment using its included MinGW packages to do the 
cross compile. I have applied no patches and just did the hg clone this morning 
from the official repository. Are any of these attached patches still 
necessary? Is there any documentation about what the process is now for doing 
the cross-compile build?

--

___
Python tracker 
<http://bugs.python.org/issue3754>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3754] cross-compilation support for python build

2013-02-05 Thread Greg Hellings

Greg Hellings added the comment:

Bummer, the patches in that issue do not apply cleanly to either the 3.3.0 
released tarball nor to the 3.3 branch from hg.

--

___
Python tracker 
<http://bugs.python.org/issue3754>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com