Skip navigation.
Home
The QNX Community Portal

View topic - where to get python 3.2.2 header files

where to get python 3.2.2 header files

anything that doesn't fit to other groups.

where to get python 3.2.2 header files

Postby thowa » Fri Oct 17, 2014 9:28 pm

Hi,

I want to compile Boost.Python for my BlackBerry Z30.
Therefore I need the source files of Python 3.2.2 (or at least the .h-files) for QNX.

From Python.org I can get those files.for every other OS but jot QNX.

I also don't really know, which version of QNX is running on Blackberry 10.
Uname -a shows 8.0.0. But I think that's not correct.
thowa
New Member
 
Posts: 2
Joined: Wed Oct 15, 2014 8:59 am

Re: where to get python 3.2.2 header files

Postby maschoen » Sat Oct 18, 2014 2:38 am

I've never heard anything but rumor about Blackberry 10, but here is some speculation.

Blackberry 10 is based on QNX 6.6, and it runs using Screen. It is a closed system. That is, you can't write your own resource manager or driver and put it on a Blackberry. User applications run in a sandbox and have limited and tightly controlled access to system functions. The fact that you are seeing an OS value of 8.0.0 suggests two possibilities.

1) Blackberry 10 is intentionally a branch off of standard QNX 6.

or

2) Blackberry 10 has new features that will eventually find their way into a general release called QNX 8.
Note that as a general rule, QNX has avoided odd numbered major versions. There has been a QNX 2, 4 and 6 so far.
For that matter, major release numbers involved complete rewrites so far. And to any of you old guys who think they know more than me, QNX 3 was not a release, just a system level indicator that QNX 2 was running in protected mode.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Re: where to get python 3.2.2 header files

Postby thowa » Sat Oct 18, 2014 4:02 am

Thanks for your answer.

I knew that limitation regarding sandbox, but still would like to use it. Does anybody know, where to get the headers?
thowa
New Member
 
Posts: 2
Joined: Wed Oct 15, 2014 8:59 am

Re: where to get python 3.2.2 header files

Postby nico04 » Tue Aug 11, 2015 8:35 am

Hi,

Here is the repository for Python 3.2.2 that is used by BlackBerry : https://github.com/blackberry/Python
I managed to compile it for QNX 6.5.0 or 6.6.0 (armv7) some time ago (don't remember). It was not full functionnal but usable.
The BlackBerry sources effectively references QNX as version 8. Some modifications need to be done to compile it correctly with QNX.

Nicolas
nico04
Active Member
 
Posts: 77
Joined: Wed Sep 29, 2010 9:59 am
Location: France


Return to General Programming

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron