Skip to content

Instantly share code, notes, and snippets.

@mach-kernel
Last active May 2, 2020 01:16
Show Gist options
  • Save mach-kernel/90a763676bf2087b48f5eb1de6fa19e1 to your computer and use it in GitHub Desktop.
Save mach-kernel/90a763676bf2087b48f5eb1de6fa19e1 to your computer and use it in GitHub Desktop.
mach@kemosabe ~/Workspace/xcompile
% cat env.sh !10322
#!/bin/bash
export PREFIX=/Users/mach/Workspace/xcompile/fakeroot
export IRIX=$PREFIX/irix-root
export DISTCCD_PATH=$PREFIX/mips-sgi-irix6.5/bin
# For some jobs
#export DISTCCD_PATH=$PREFIX/bin
mach@kemosabe ~/Workspace/xcompile
% ls -la /usr/lib/distcc !10323
total 0
drwxr-xr-x 10 root wheel 320 Apr 12 22:18 .
drwxr-xr-x 308 root wheel 9856 Apr 12 22:18 ..
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 c++ -> ../../local/bin/distcc
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 c89 -> ../../local/bin/distcc
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 c99 -> ../../local/bin/distcc
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 cc -> ../../local/bin/distcc
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 clang -> ../../local/bin/distcc
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 clang++ -> ../../local/bin/distcc
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 g++ -> ../../local/bin/distcc
lrwxr-xr-x 1 root wheel 22 Apr 12 22:18 gcc -> ../../local/bin/distcc
mach@kemosabe ~/Workspace/xcompile
% ls -la fakeroot/bin !10324
total 50656
drwxr-xr-x 28 mach staff 896 Apr 12 18:51 .
drwxr-xr-x 12 mach staff 384 Apr 12 18:55 ..
-rwxr-xr-x 1 mach staff 1064124 Apr 12 18:51 mips-sgi-irix6.5-addr2line
-rwxr-xr-x 1 mach staff 1106060 Apr 12 18:51 mips-sgi-irix6.5-ar
-rwxr-xr-x 1 mach staff 1841528 Apr 12 18:51 mips-sgi-irix6.5-as
-rwxr-xr-x 1 mach staff 1213752 Apr 12 18:51 mips-sgi-irix6.5-c++
-rwxr-xr-x 1 mach staff 1053976 Apr 12 18:51 mips-sgi-irix6.5-c++filt
-rwxr-xr-x 1 mach staff 1213760 Apr 12 18:51 mips-sgi-irix6.5-cpp
-rwxr-xr-x 1 mach staff 80912 Apr 12 18:51 mips-sgi-irix6.5-elfedit
-rwxr-xr-x 1 mach staff 1213752 Apr 12 18:51 mips-sgi-irix6.5-g++
-rwxr-xr-x 1 mach staff 1209648 Apr 12 18:51 mips-sgi-irix6.5-gcc
-rwxr-xr-x 1 mach staff 1209648 Apr 12 18:51 mips-sgi-irix6.5-gcc-9.2.0
-rwxr-xr-x 1 mach staff 38808 Apr 12 18:51 mips-sgi-irix6.5-gcc-ar
-rwxr-xr-x 1 mach staff 38856 Apr 12 18:51 mips-sgi-irix6.5-gcc-nm
-rwxr-xr-x 1 mach staff 38864 Apr 12 18:51 mips-sgi-irix6.5-gcc-ranlib
-rwxr-xr-x 1 mach staff 770192 Apr 12 18:51 mips-sgi-irix6.5-gcov
-rwxr-xr-x 1 mach staff 572152 Apr 12 18:51 mips-sgi-irix6.5-gcov-dump
-rwxr-xr-x 1 mach staff 612772 Apr 12 18:51 mips-sgi-irix6.5-gcov-tool
-rwxr-xr-x 1 mach staff 1746424 Apr 12 18:51 mips-sgi-irix6.5-ld
-rwxr-xr-x 1 mach staff 1746424 Apr 12 18:51 mips-sgi-irix6.5-ld.bfd
-rwxr-xr-x 1 mach staff 1077064 Apr 12 18:51 mips-sgi-irix6.5-nm
-rwxr-xr-x 1 mach staff 1310544 Apr 12 18:51 mips-sgi-irix6.5-objcopy
-rwxr-xr-x 1 mach staff 1711516 Apr 12 18:51 mips-sgi-irix6.5-objdump
-rwxr-xr-x 1 mach staff 1106092 Apr 12 18:51 mips-sgi-irix6.5-ranlib
-rwxr-xr-x 1 mach staff 467284 Apr 12 18:51 mips-sgi-irix6.5-readelf
-rwxr-xr-x 1 mach staff 1062136 Apr 12 18:51 mips-sgi-irix6.5-size
-rwxr-xr-x 1 mach staff 1064300 Apr 12 18:51 mips-sgi-irix6.5-strings
-rwxr-xr-x 1 mach staff 1310544 Apr 12 18:51 mips-sgi-irix6.5-strip
mach@kemosabe ~/Workspace/xcompile
% ls -la fakeroot/mips-sgi-irix6.5/bin !10325
total 52784
drwxr-xr-x 26 mach staff 832 Apr 12 18:55 .
drwxr-xr-x 6 mach staff 192 Apr 12 18:55 ..
-rwxr-xr-x 1 mach staff 1064124 Apr 12 18:55 addr2line
-rwxr-xr-x 1 mach staff 1106060 Apr 12 18:55 ar
-rwxr-xr-x 1 mach staff 1841528 Apr 12 18:55 as
-rwxr-xr-x 1 mach staff 1213752 Apr 12 18:55 c++
-rwxr-xr-x 1 mach staff 1053976 Apr 12 18:55 c++filt
-rwxr-xr-x 1 mach staff 1209648 Apr 12 18:55 cc
-rwxr-xr-x 1 mach staff 1213760 Apr 12 18:55 cpp
-rwxr-xr-x 1 mach staff 80912 Apr 12 18:55 elfedit
-rwxr-xr-x 1 mach staff 1213752 Apr 12 18:55 g++
-rwxr-xr-x 1 mach staff 1209648 Apr 12 18:55 gcc
-rwxr-xr-x 1 mach staff 1209648 Apr 12 18:55 gcc-9.2.0
-rwxr-xr-x 1 mach staff 770192 Apr 12 18:55 gcov
-rwxr-xr-x 1 mach staff 572152 Apr 12 18:55 gcov-dump
-rwxr-xr-x 1 mach staff 612772 Apr 12 18:55 gcov-tool
-rwxr-xr-x 1 mach staff 1746424 Apr 12 18:55 ld
-rwxr-xr-x 1 mach staff 1746424 Apr 12 18:55 ld.bfd
-rwxr-xr-x 1 mach staff 1077064 Apr 12 18:55 nm
-rwxr-xr-x 1 mach staff 1310544 Apr 12 18:55 objcopy
-rwxr-xr-x 1 mach staff 1711516 Apr 12 18:55 objdump
-rwxr-xr-x 1 mach staff 1106092 Apr 12 18:55 ranlib
-rwxr-xr-x 1 mach staff 467284 Apr 12 18:55 readelf
-rwxr-xr-x 1 mach staff 1062136 Apr 12 18:55 size
-rwxr-xr-x 1 mach staff 1064300 Apr 12 18:55 strings
-rwxr-xr-x 1 mach staff 1310544 Apr 12 18:55 strip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment