SD Build and Install ProcessΒΆ

The SD system is installed by executing the install script: ubuntu-installsd.sh

The script performs the following:

  1. Installs required system packages

  2. Make

    Builds the C code into programs:

    sd     - string database
    sdconv - File convertor for high/low byte systems
    sdidx  - Report or modify the location of alternate key indices
    sdfix  - Check / repair file system integrity
    sdlnxd - SD Linux daemon
    sdtic  - Terminfo compiler.
    
    and library
    sdclilib.so - API client library
    
  3. Creates user sdsys and group sdusers

  4. Creates and copies files to /usr/local/sdsys

  5. Compiles (convert BASIC source to byte code object file) using python script BBCOMP.py - BootStrap Basic Compiler.

    BootStrap Basic Compile the modules necessary to build the balance of the system:

    BBPROC - Bootstrap Command Processor
    BCOMP  - BASIC compiler
    PATHTKN -
    pcode file
    
  6. Creates the sd account parent directories

  7. Starts the sd system.

  8. Performs Build step pass 1 (Executes BBPROC)

    BBPROC compiles:

    CPROC
    LOGIN
    BASIC
    BCOMP
    PTERM
    CATALOG
    PARSER
    IS_GRP_MEMBER
    TERM
    

    BBPROC Creates DYNAMIC files:

    ACCOUNTS
    $HOLD
    $MAP
    $IPC
    DICT.DIC
    DIR_DICT
    VOC.DIC
    
  9. Performs Build step pass 2 - (SECOND.COMPILE - compiles all of GPL.BP)

  10. Performs Build step pass 3 - WRITE_INSTALL_DICTS

  11. Compiles C and I type dictionaries - (THIRD.COMPILE)

  12. Recompiles CPROC

  13. Create Account for user installing SD

  14. Compiles terminfo database

  15. Cleanup processing

  16. Inform user reboot is required