Compiling a program requiring a library

Hi,

Does anyone know how to compile a C program that requires a library
in QNX IDE?

I have a program call DAQ.c which uses some functions in the library libdscud5.a.

I can compile it in the terminal using :
g++ -Wall DAQ.c /usr/local/libdscud5.a

However, is there a way in which tthe IDE can compile this program with the library?

Would appreciate any help or advice.

Thanks in advance!

In the HELP menu of the IDE, click help content. Then in the search box type “external library”. You’ll be really close to the answer with nice pictures and everything.