3 ms·
> IIRC before Go was self compiling, it was compiled using 9c, and its architecture inherits from 9c. Back in those days I actually found that, with a few smal
by floren 2y ago
> IIRC before Go was self compiling, it was compiled using 9c, and its architecture inherits from 9c.
Back in those days I actually found that, with a few small tweaks, I could compile the Plan 9 operating system using Go's C suite. We didn't pursue it further but this was one of the options we looked into for cross-compiling Plan 9 from other operating systems.
- stonogo 2y agoSince to Go C suite was ported Plan 9 compilers, I'm not sure why this would be a surprise. Since I'm obviously missing something would you share your thoughts on what challenges you expected?
- floren 2y agoIt wasn't any surprise, nor did I intend to imply it was surprising, just relaying an anecdote. There were a few differences that required small tweaks to the source, but we got the Plan 9 kernel compiled with the Go C compilers in a day.