Building LOS178 2.1.0 on Windows

In order to build LOS178 2.1.0 on Windows the following steps were performed:

Create LOS178 build area

  • In /build the directory 2.1.0/los178 was created
  • From a successful build on Rock the tar images:
    • 2000-00.los178_rsc_src.tar.gz
    • 2001-00.los178_src.tar.gz
    • 2013-00.los178_dev.tar.gz
    • 2015.los178_rsc_dev.tar.gz
    were extracted into /build/2.1.0/los178.
  • 2032-00.cdkwin32.tar.gz was obtaind from t3:/export/dev_archive/los178/2p1p0/20050622/solaris/media/ppc and extracted into /build/2.1.0/los178

Compile cdk

  • Sourced SETUP.bash
  • cd'ed into src/cdk
  • make install > install.log 2>&1
  • The install.log was checked for errors

Build GDB

  • The toolchain was exported, tarred, copied and extracted to /build/2.1.0/toolchain and fixup.sh was run
  • In order for GDB to compile successfully the liblcsapi.a library was extracted from t3:/export/rel_archive/archive-lcs-1.0.0/052703/10001.lcs_host.tar.gz tarball into the host environment ($ENV_PREFIX/lib, a directory that has to be made first)
  • The GDB module was compiled with make install-gdb > install.log 2>&1
  • The install.log was checked for errors
  • Move install-powerpc178/cdk/sunos-xcoff-ppc/usr/bin/gdbserver (and gdbserver-lcs) to $ENV_PREFIX/bin.