Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
Slib
System shared library (QNX)
Syntax:
Slib32 Slib16
Options:
None.
Description:
For QNX to operate, a system shared library must be present in the operating system image that is booted. There are two of these libraries:
- Slib32 -- allows 32-bit programs to run. This library is mandatory.
- Slib16 -- allows 16-bit programs to run. This library is mandatory to run any 16-bit programs.
If you want to run both 16- and 32-bit programs on your system, you must run both shared libraries. Always place the 32-bit shared library before the 16-bit one in the boot image.
Examples:
The following build file would be for a node using an Ethernet 1000 card, where only 32-bit programs could run:
sys/Proc32
$ Proc32 -l $(lnode)
sys/Slib32
$ Slib32
/bin/Net
$ Net -m $(netmap)
/bin/Net.ether1000
$ Net.ether1000
/bin/sinit
$ sinit -r //$(bnode) TERM=qnx TZ=$(TZ)
Same as above but for a node where both 16- and 32-bit programs could run:
sys/Proc32
$ Proc32 -l $(lnode)
sys/Slib32
$ Slib32
sys/Slib16
$ Slib16
/bin/Net
$ Net -m $(netmap)
/bin/Net.ether1000
$ Net.ether1000
/bin/sinit
$ sinit -r //$(bnode) TERM=qnx TZ=$(TZ)
See also:
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Next]](../next.gif)