Minimal configuration

This buildfile does the minimum necessary to give you a shell prompt on the first serial port.

This example is for an x86_64 system:

[image=0x1400000]
[virtual=x86_64,bios +compress] boot = {
    # Use startup-x86 by default
    startup-x86 -v
    PATH=/proc/boot  LD_LIBRARY_PATH=/proc/boot
}

[+script] startup-script = {
    # Programs require the runtime linker (ldqnx.so) to be at
    # a fixed location:
    procmgr_symlink ../../proc/boot/ldqnx-64.so.2 /usr/lib/ldqnx-64.so.2
    display_msg Welcome to QNX Neutrino 7.1 on x86_64! 

    # These env variables inherited by all the programs which follow
    SYSNAME=nto
    TERM=qansi
    devc-ser8250 &
    reopen /dev/ser1
    [+session] sh &
}

[type=link] /tmp=/dev/shmem
[type=link] /bin/sh=/proc/boot/ksh

# Shared libraries
libc.so
libgcc_s.so.1
ldqnx-64.so.2
libm.so
libz.so
libtracelog.so.1

# general commands
echo
cp
ls
pidin
cat
shutdown

# serial driver
devc-ser8250