Last active
January 2, 2020 17:13
-
-
Save dillera/e4d48463bd4c20666619701acd83d32c to your computer and use it in GitHub Desktop.
Building didbs 9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building 0.1.9 - on Challenge/6.5.20 | |
Full build path - assumes you do not have dids installed. Wget needs to be done by another system | |
$ su | |
# mkdir -p /usr/didbs | |
# chown myusername /usr/didbs | |
# exit | |
$ cd | |
$ wget https://github.com/danielhams/didbs/releases/download/0.1.9/usr-didbs-0.1.9-n32m3gcc.tar.gz | |
$ /usr/sbin/gunzip usr-didbs-0.1.9-n32m3gcc.tar.gz | |
$ cd /usr/didbs | |
$ tar xvf ~/usr-didbs-0.1.9-n32m3gcc.tar.gz | |
$ rm current | |
$ ln -s 0_1_9_n32_mips3_gcc current | |
# do you NOT need to do this unless you are NOT using 6.5.30 | |
$ cd /usr/didbs/current/libexec/gcc/mips-sgi-irix6.5/9.2.0/install-tools | |
$ ./mkheaders | |
# You do NOT need to do this unless you want to build your own | |
# local didbs using dibs.... | |
## this assumes you have pulled down the didbs repo | |
## i.e. git clone https://github.com/danielhams/didbs didbs.git | |
$ cd /usr/didbs/didbs.git | |
## this assumes you really forked didbs, cloned your fork here | |
## did: | |
## git remote add upstream https://github.com/danielhams/didbs.git | |
## to setup upsteam, and now you want to merge some new stuff from Thinly | |
$ git fetch upstream && git merge upstream/master | |
## Ok, now, remove any existing .conf file- if this is first time | |
## it won't exist... | |
$ rm /usr/didbs/didbs.git/bootstrap.conf | |
## now run the bootstrap for the first time and setup all the destinations | |
## somewhere that makes sense to you. For me 'didbs9gcc' makes sense... | |
./bootstrap.pl --packagedir /usr/didbs/didbs9gcc/packages \ | |
--builddir /usr/didbs/didbs9gcc/sources \ | |
--installdir /usr/didbs/didbs9gcc \ | |
--compiler gcc \ | |
--isa mips4 \ | |
--elfwidth n32 | |
## once that is completed, follow the directions from Thinly and run bootstrap again: | |
./bootstrap.pl | |
## enjoy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment