[Previous] [Contents] [Next]

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:

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:

buildqnx, Proc

Installation & Configuration


[Previous] [Contents] [Next]