An updated version of the latest OS/161 toolchain that compiles!
The original source code was taken from: here.
The installation instructions are here.
Patches applied/resources consulted:
- GCC:
cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute
:- gcc/doc/gcc.texi (missing @endtab, @endtex, etc. at the end of the file):
- Add some newlines throughout the source code
- Broken t-scan test:
- Missing GMP, MPFR, MPC:
- GDB:
- sim_addr_range_hit_p defined multiple times:
- Solution: move the inline function definition from sim-arange.c into sim-arange.h. (Referenced, but not solved here:)
- sim_addr_range_hit_p defined multiple times:
The code was compiled to ~/os161-support/tools/.