On Mon, Mar 29, 2021 at 10:47 AM Russ Cox <r...@swtch.com> wrote:
>
> On March 29, 2021, arn...@skeeve.com wrote:
>
> OK - wasn't kenc ported to Linux for bootstrapping the early
> Go compilers? Is that version general, or not worth my trying to use?
>
>
> The early Go compilers, written in C, were compiled with gcc or clang.
>
> The Plan 9 C compiler was used for the Go runtime's initial
> C implementation, but in that context it was only dealing
> with the self-contained demands of Go itself, not arbitrary C code
> (no standard C library, much of which gawk would need).
>
> Even in that limited context, we spent a frustrating (non-zero)
> amount of time stumbling over bugs.
> Standard C has moved on, and the Plan 9 C compilers have not kept up.
> They're still fine for Plan 9 C code, but given the choice
> I wouldn't throw anything else at them.
>
> Best,
> Russ
> 9fans / 9fans / see discussions + participants + delivery options Permalink

Years back I spent some time getting the 9k kernel compiling with Go's
C compilers. It's been a long time so I don't remember everything I
had to do, but it wasn't a straight-across change and we ended up
deciding that since the Go compilers were being maintained
specifically to compile Go, it wouldn't be a good idea to hitch our
wagon to them lest they make some Go-focused changes which break our
stuff.

john

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T4d77cc95ab4ed70c-Ma6467d9eedaa83ac761e35da
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to