Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Rust for QNX 7: (3 Items)
   
Rust for QNX 7  
Hi,

I'm interested to know if anybody tried to compile a Rust application for QNX? I wasn't able to find any information 
about this.
(Cross) Compiling for Linux but linking using qcc for QNX fails due to a lot of missing symbols (I hoped this would work
 as both Linux and QNX use POSIX APIs).

Thanks and kind regards
Re: Rust for QNX 7  
Hi Florian

First, I know of no successful Rust on QNX/NTO.

However; your first try won't work as there are too many differences between glibc and the NTO libc.
Yes Linux does, depending on your distribution, provide a lot of POSIX API(s), but for instance the POSIX threads are in
 a separate library pthread library on Linux, but contained within the NTO libc. This is where many of your missing 
symbols may have come from, the differences between library contents.

Jim
Re: Rust for QNX 7  
Hi Jim,

thanks for the answer and details about libc. Do you think there is a chance of fixing the linking issues by adapting 
the linker parameters, or will there be deeper issues like ABI incompatibilities (assuming Rust code only; I'm sure we 
would get them when trying to link against C++ code).

I was afraid that there was no progress with Rust. Are there plans to support it any time soon?
Using Rust would help us to stay competitive when implementing complex applications.

Kind regards, Florian