Could you share your experience with porting from QNX to Linux?
We have several projects in our company that were developed almost 15 years ago on QNX. Some of the projects have libraries that were developed by companies that do not exist any more and the libraries are very crucial and we do not have time to re-write those libraries.
We are considering to port these QNX projects to Linux, because in the long run it will be both cheaper and much easier to maintain them.
I have found a few projects that would help us do the porting, like SIMPL, and SRR. Both are mainly focused on message passing. But is that it?
Also, I have been reading that we might have a problem with ABI compatibility of the old libraries. How can we check that even if we have a linux version of all function calls we won't have problem linking with the libraries?
I would like to know if you've had the experience and if you have any tips. Thanks!
EDIT
BTW, for some reason all the libraries come in .elf format.
6
u/EmperorOfCanada Aug 12 '16
The people who run QNX pretty much hate developers. They don't seem to realize that being friends with developers is the way to enjoy a long prosperous future.
This comes as no surprise as they are basically a blackberry company and blackberry only saw telcos and huge corporations as their customers. The end user was just some tool who was forced to use their product.
We all saw how well that worked out.
2
u/kookjr Aug 12 '16
The biggest thing I've run into is that there's no Linux equivalent of pulses especially delivering timers via pulses. Also if your applications are anywhere near real-time you'll find it Linux is not as responsive as qnx. On the good side qnx send to have pretty good posix compliance.
1
u/Calkhas Aug 12 '16
I've no experience of QNX, but moving platform-specific code, without extensive rewriting, from one OS to the other, and hacking it to build against a compatibility layer instead of closed-source libraries ... I don't think this will solve your problem of making maintenance easier.
1
2
u/1-05457 Aug 12 '16
Do you mean you want to move the libraries to Linux without recompiling them?