Skip to content
Irix Development Bootstrapper
Shell M4 Perl Roff Perl 6
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Add Time::Hires to allow timestamps in the didbs output (to keep an e… Jun 12, 2019
mips4tools Upgrade the statically linked bootstrapping wget to 1.20.1 Feb 4, 2019
packages Add currently not working gcc9 (and related binutils). They are disab… Aug 14, 2019
scripts Add downloaded cacerts and do the config tweaks in wget and curl to u… Jul 14, 2019
.gitignore Getting ready for the 0.0.3 release. Feb 2, 2019
DidbsBuilder.pm The big refactoring to support didbs build shell on all packages. Feb 14, 2019
DidbsConfigurator.pm
DidbsDependencyEngine.pm More binutils/gcc investigation. Now back to gcc 4.8.2 Jul 16, 2019
DidbsExtractor.pm Thanks to sgidev folks have a semi-working gcc8 - and with a little h… May 31, 2019
DidbsInstaller.pm The big refactoring to support didbs build shell on all packages. Feb 14, 2019
DidbsPackage.pm Add buildable libatomicops and a failing bdw-gc plus introduce the "d… Apr 8, 2019
DidbsPackageShell.pm Move the helper scripts into a sub-dir to make it less tempting to tr… May 26, 2019
DidbsPackageState.pm Fix up dryrun to work properly and include "faked" installs of out of… Mar 27, 2019
DidbsPatcher.pm Move the helper scripts into a sub-dir to make it less tempting to tr… May 26, 2019
DidbsStageChecker.pm Tweaks to use --dryrun instead of pretend and include LD_LIBRARY_PATH… Mar 27, 2019
DidbsUtils.pm Add Time::Hires to allow timestamps in the didbs output (to keep an e… Jun 12, 2019
LICENSE Initial commit Jun 2, 2018
README.md Missed 0.1.0 that should be 0_1_0 Aug 10, 2019
TODO.txt Remove unused variables + scripts, update the README.md to better doc… Jul 31, 2018
bootstrap.pl Version bump in the bootstrap script Aug 8, 2019
defaultenv.vars getting ready for compiler release Aug 8, 2019
suppressenv.vars First attempt at getting cmake to pick the didbs ncurses. No luck yet. Dec 15, 2018
toolstocheckfor.txt Updates to allow a full build to work even on a host that already has… Oct 5, 2018

README.md

didbs

Irix Development Bootstrapper

A perl script and some minimal supporting tools to allow bootstrapping of some recent open source tools on Irix 6.5.X, mips4.

Needs

  • Irix 6.5.X (6.5.30 tested)
  • Mips4 CPU
  • Mipspro 7.4.4m
  • System perl (/usr/bin/perl)
  • System tar (/sbin/tar)
  • Roughly 20Gb diskspace
  • Minimum of ~2Gb of RAM
  • Beefy CPU if you want to build everything (2*600mhz min)

Suggested approach:

(1) Do everything as your user, I do not recommend use of root or installing into /usr/local or other existing directories. If you have to do things as root, I consider that a bug! (2) We have to dance a little due to way that github provides "release" tarballs/directories in them

  • As root
  • Create /usr/didbs
  • chown myuser:people /usr/didbs # (have to do this as root, of course)
  • As your user
  • mkdir /usr/didbs/0_1_0_build
  • mkdir /usr/didbs/0_1_0_package
  • mkdir /usr/didbs/0_1_0
  • cd /usr/didbs/0_1_0_build
  • mv /path/to/downloadedrelease/0.1.0.tar.gz ./
  • gunzip 0.1.0.tar.gz
  • tar xf 0.1.0.tar
  • mv didbs-0.1.0/* ./
  • mv didbs-0.1.0/.gitignore ./
  • rmdir didbs-0.1.0
  • rm 0.1.0.tar
  • nedit defaultenv.vars
  • Set the DIDBS_JOBS to CPU+1, or just one if RAM is < 512Mb, save, exit
  • ./bootstrap.pl -p /usr/didbs/0_1_0_package -b /usr/didbs/0_1_0_build -i /usr/didbs/0_1_0 -v # (this sets up paths)
  • ./bootstrap.pl # (This builds the stage0 pieces)
  • ./bootstrap.pl # (This builds the stage1 then release packages)

Using the installed tools

You'll need to setup your environment to pull the right directories (bash example):

  • export PATH=/usr/didbs/0_1_0/bin:$PATH
  • export LD_LIBRARYN32_PATH=/usr/didbs/0_1_0/lib:$LD_LIBRARYN32_PATH
  • export PKG_CONFIG_PATH=/usr/didbs/0_1_0/lib/pkgconfig:$PKG_CONFIG_PATH

If you want to use the included gcc4, gcc5 or gcc8, after building they may be found here (so add to PATH and LD_LIBRARYN32_PATH as well):

gcc4 actual -> /usr/didbs/0_1_0/gbs4_2

gcc5 actual -> /usr/didbs/0_1_0/gbs5_0 (gcc5 is a special case, and requires the gcc4 paths afterwards to pick up the binutils/gdb there)

gcc8 actual -> /usr/didbs/0_1_0/gbs8_1

Please note that the gcc compilers are a work-in-progress and for the moment we still expect breakage / teething issues.

You can’t perform that action at this time.