This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Windows CE support (part 1)
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: infidel, loewis
Priority: normal Keywords: patch

Created on 2006-05-21 07:15 by infidel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-trunk-wince-20060521.diff infidel, 2006-05-21 07:15 Windows CE patch
Messages (2)
msg50317 - (view) Author: Luke Dunstan (infidel) Date: 2006-05-21 07:15
This patch contains part of the changes necessary to 
build Python trunk for Windows CE 4.x using the 
freely downloadable Microsoft eMbedded Visual C++ 
4.0. I will submit more patches later.

The changes are:

- Replace use of intptr_t with Py_intptr_t 
(Py_intptr_t already exists)

- Created a macro to support 64-bit integer literals 
using the I64 suffix

- Guard #include <errno.h> with #ifndef 
DONT_HAVE_ERRNO_H (this macro was already used in a 
few places)

- Guard #include <fcntl.h> with #ifdef HAVE_FCNTL_H 
(this macro was already in pyconfig.h)

- Various small changes to PC/pyconfig.h, mostly to 
cater for header files that are not available for 
Windows CE

I have tested that this doesn't break anything by 
building the patched Python on Linux and running the 
test suite.
msg50318 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-05-22 09:17
Logged In: YES 
user_id=21627

Thanks for the patch, committed as r46064.

Notice that your changes to the dsw/dsp files are not
included, as these files are marked as binary.
History
Date User Action Args
2022-04-11 14:56:17adminsetgithub: 43390
2006-05-21 07:15:21infidelcreate