CHAR_BIT%8 != 0

Feb 4, 2014 at 4:50pm
For a while now I have been wanting to work in strange environments (or to make my own strange environment/OS), and one of the things I am curious about right now is working in an environment where CHAR_BIT is not a multiple of 8 (that is, there are not 8 bits per byte).

Does anyone know any easy way to compile and run programs in such an environment? Is there a way I can use a virtual machine? Are there pre-built compilers or do I have to perform a ritual to build a compiler?
Feb 4, 2014 at 6:31pm
There was a port of gcc for PDP-10 where CHAR_BIT=9:
http://pdp10.nocrew.org/gcc/download/gcc-pdp10-20020611.tar.bz2

there are plenty of PDP emulators (I use a PDP-11 emulator to run Unix V7 sometimes), but I never tried to bring up pdp-10 or use that port.
Topic archived. No new replies allowed.