Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Linking external libs in PhAB app
Ref. No. QNX.000004487
Category(ies) Development
Issue How do I link external libs in a phab app?

Solution The location of the Makefile is: (project/src/default)

- CFLAGS needs -I (capital 'i') option so that #included headers can be found
- LDFLAGS/SDFLAGS needs -L option for path to libs and -l (lowercase 'L') option for naming lib to link with