问题描述
找不到实际的发行说明,该发行说明指出了QNX 6.5.1和6.6.0之间的确切差异.我知道Photon不再受支持.
Couldn't find actual release notes that point out the exact difference between QNX 6.5.1 and 6.6.0. I know that Photon's not supported anymore.
到目前为止,我已经拥有SDP 6.6.0,但是可能我还需要我的软件才能在6.5.0上运行.那么,到6.5.0的实际向后兼容级别是多少?有人指出"6.6与6.5二进制兼容" [ 1 ]-有人可以用官方文件支持吗?
So far, I've got SDP 6.6.0 but it might be that I need my software also to run on 6.5.0. So what is the actual backward compatibility level to 6.5.0? Some state that "6.6 is binary compatible with 6.5" [1] - can anyone support this with official documents?
由于QNX遵循POSIX标准,因此我认为这些API是相同的,并且确实应该提供向后兼容性.因此,为6.6.0创建的程序基本上也应该在6.5.0上运行,对吧?
Since QNX follows the POSIX standard, I suppose that the APIs are the same and should be indeed provide backwards compatibility. So the programs created for 6.6.0 should basically also run on 6.5.0, right?
推荐答案
到目前为止发现的差异.
Differences I discovered so far.
- 使用SDP 6.6.0(i486-pc-nto-qnx6.6.0-g ++)并在QNX 6.5.0上运行软件:
- 必须禁用gcc堆栈保护器:
qcc .. -fno-stack-protector
(另请参见) - 使用
dlopen()
时[ 1 ]链接共享库SDP 6.6.0将使用libcpp.so.5
,而QNX 6.5.0仅提供libcpp.so.4
.
- using SDP 6.6.0 (i486-pc-nto-qnx6.6.0-g++) and running software on QNX 6.5.0:
- gcc stack protector has to be disabled:
qcc .. -fno-stack-protector
(see also here) - when using
dlopen()
[1] to link against shared libraries SDP 6.6.0 will uselibcpp.so.5
while QNX 6.5.0 only provideslibcpp.so.4
.
另外:我发现了一个论坛线程 Ryan Mansfield(我认为QNX编译器的主要维护者)说:
Additionally: I found a forum thread where Ryan Mansfield (QNX compiler lead maintainer, I think) says:
这篇关于QNX 6.5.0(SP1)和6.6.0(向后兼容)之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
- gcc stack protector has to be disabled:
- 必须禁用gcc堆栈保护器: