linking mqueue library

Hi everybody,

In order to use mqueue I need to link a mqueue library, however I find
several of these in /etc/lib

Can anyone tell me the difference between the different ones:
mqueue3r.lib
mqueuec.lib
mqueueh.lib
mqueuel.lib
mqueuem.lib
mqueues.lib

which on should I use?

I’m running QNX4.25

Thanks

Lars

Lars Skade wrote:

In order to use mqueue I need to link a mqueue library, however I find
several of these in /etc/lib
Can anyone tell me the difference between the different ones:
mqueue3r.lib
mqueuec.lib
mqueueh.lib
mqueuel.lib
mqueuem.lib
mqueues.lib

These correspond to a register-arg-passing, compact, huge, large, medium
memory models, and stack-arg-passing variants respectively. You
typically don’t need to know which to use, the linker will pick the
right one for you based on compile options (-m); it is already doing the
same for you for the “clib” variants; you just need to say “-l mqueue”.