did somebody tried to compile Rust code for QNX? I would love switching from C++ to Rust, but have to support QNX.
Compiling for Linux (same architecture) and trying to link with QNX linker causes a lot of linking issues (not sure if this makes any sense at all):
undefined reference to `_Unwind_Backtrace'
undefined reference to `_Unwind_DeleteException'
undefined reference to `_Unwind_GetDataRelBase'
undefined reference to `_Unwind_GetIP'
undefined reference to `_Unwind_GetIPInfo'
undefined reference to `_Unwind_GetLanguageSpecificData'
undefined reference to `_Unwind_GetRegionStart'
undefined reference to `_Unwind_GetTextRelBase'
undefined reference to `_Unwind_RaiseException'
undefined reference to `_Unwind_Resume'
undefined reference to `_Unwind_SetGR'
undefined reference to `_Unwind_SetIP'
undefined reference to `__errno_location'
undefined reference to `__xpg_strerror_r'
undefined reference to `fstat64'
undefined reference to `memrchr'
undefined reference to `open64'
undefined reference to `pthread_getattr_np'
undefined reference to `sigaltstack'
undefined reference to `syscall'
undefined references to `_Unwind_Resume' follow
Would it be feasible to port rustc to QNX with the (rather old) C/C++ compiler from QNX, or would we also need to port the LLVM used by rustc to QNX?