Porting Linux app to QNX - <execinfo.h> not found - backtrace() functions


I’m trying to port my Linux app to QNX. Cross-compilation with qcc fails due to execinfo.h not being found. It’s a linux specific header that declares the backtrace(), backtrace_symbols() and backtrace_symbols_fd() functions.

How to enable this functionality for QNX? Is there a header or library I should include for backtraces in QNX?

I think your porting to QNX 7.



Yes, I’m porting to QNX 7.1.

Thanks Tim!