From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8490 invoked from network); 29 Mar 2021 17:45:43 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 29 Mar 2021 17:45:43 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob21.topicbox.com (Postfix) with ESMTP id 32F3C2B32C for ; Mon, 29 Mar 2021 13:45:40 -0400 (EDT) (envelope-from bounce.mM38095e7b51661883f977006a.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id EDCB51E83BF6; Mon, 29 Mar 2021 13:45:39 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=swtch.com header.i=@swtch.com header.b=IuSl8Bru header.a=rsa-sha256 header.s=heymail x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=swtch.com; spf=pass smtp.mailfrom=rsc@swtch.com smtp.helo=01a.hosted.hey.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:in-reply-to:subject :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1617039939; bh=fajal73MQ2eiKFObAB5K090AU4rdE9y97raKh X6emW0=; b=oRxQ2Xsuc//z/PQGmwGyqxgGfk0W3XTfz46NrzXgS70VC0lbT1hLx ImTCzylRh6DcmUEZpywZ1SrV5MVOWKmXJVakuErA4DJNEfF1WrDjgiss8+ZPLZng dSyNk3pN562cKUooWgJOvoTqJoSA1+T4ROo+4+0wpY/r2KOcQAprCM= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1617039939; b=QQWBeR7bRybiBlGO/gH1UVtltAuqEoL1/3u0rzWXv0UGV5X32K DtP1D5GnxLwb9GaPplI2fKeDIkbLST0bg7qr5LD+cqOpvO58KpiwMwReg/FbFRqg uNNNY8dtQqkEBaC3zXCdJgD/naYb/qJMOYAOJgMZkLMrrIdvweI8BdYCU= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=swtch.com header.i=@swtch.com header.b=IuSl8Bru header.a=rsa-sha256 header.s=heymail x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=swtch.com; spf=pass smtp.mailfrom=rsc@swtch.com smtp.helo=01a.hosted.hey.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=swtch.com header.i=@swtch.com header.b=IuSl8Bru header.a=rsa-sha256 header.s=heymail x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=swtch.com; iprev=pass smtp.remote-ip=204.62.114.138 (01a.hosted.hey.com); spf=pass smtp.mailfrom=rsc@swtch.com smtp.helo=01a.hosted.hey.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=01a.hosted.hey.com policy.ptr=01a.hosted.hey.com; x-return-mx=pass header.domain=swtch.com policy.is_org=yes (MX Records found: work-mx.app.hey.com); x-return-mx=pass smtp.domain=swtch.com policy.is_org=yes (MX Records found: work-mx.app.hey.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:message-id:in-reply-to:subject:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=IoBJHaFA l6GzETrVTAQmqLWD9xQLdNL7+xUojqauu3Y=; b=gc+9t599NaRSWGhTmgCNQd2v M0t0N4bl0/YUtieAlyjQE5L7bYI+sD2Wb5/qHViPds48kvcxLZ6geF6kTmr9SzHO 7PpV2Gc3E68UKZReNfNatSxQNdnn4ig+BMvEBKCis4UCGhrvZJXN2UC8J752sQtK ssTh7zydD0fGys0PpxI= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 5310A1E8380D for <9fans@9fans.net>; Mon, 29 Mar 2021 13:45:29 -0400 (EDT) (envelope-from rsc@swtch.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 621FBADB611; Mon, 29 Mar 2021 13:45:29 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1617039929; b=i4zz4AtU0ndC2i+YjxQSFaoybVJQO7CV+RbEZL17TKG13YaeoU WzRDZgjf4av0Lem0ayYM1FMLLMbpwWn2u6tQAxF0wYK/DTlFHEg4bITT2FfyJ4QE KXot14vX7bUOTwciJHlXgPbW4XuqsM//+sBvEgK6KLS7281oEjx2SBtvygFQCie4 fr3ohQKOJPNifd0h69yPQWpmkCkDVmhDJooNPl015UEhYHH+499XHJqZzhPyydJN gozKhO4bcNeLwZ1Po+8rrs1EGXQJ+sXD8bjwmSHhODT/89McV1D5MXzh/7Yfrfmc 83VBn2JJ0guPDR4VpimIAyTsp92E2ilyH95A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:in-reply-to:subject :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1617039929; bh=e5w+vfrYtJsQO1MiGJU3OKIRQNAO05/qQbkWIMgf8TU=; b= gzCNx53j1mRaYQVbSf870lPQ7z4iT41K1Rc0uXdJR5rF9IUQy5CgmMSMzwIemlaW UTD7nqff90S4WX1JB6g5Ue6NZGS+pFEuTbYLBC6/GWKvf6MBRvaOiQnxKN6SmNrI c5o+xya6/cM8fAc2f5sc2o2BOZkvHZvGzw5CE6RGzvktOTHK5mxpcvJCveWPmzgs Tu6UDTYbeJ2vU8s8TYz/B1wRyfSreT+BlYFVc5t13i0bQSN3BC0Ra7nsq8u9NqEQ daKHo+/8ESprRm7rhZhPvk5vbhPFuG5DB/lV+EelHH4m0flU7iw2Yg94D0dHLmM5 gPqwSV5jRe27X/qynVE+cQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=swtch.com header.i=@swtch.com header.b=IuSl8Bru header.a=rsa-sha256 header.s=heymail x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=swtch.com; iprev=pass smtp.remote-ip=204.62.114.138 (01a.hosted.hey.com); spf=pass smtp.mailfrom=rsc@swtch.com smtp.helo=01a.hosted.hey.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=01a.hosted.hey.com policy.ptr=01a.hosted.hey.com; x-return-mx=pass header.domain=swtch.com policy.is_org=yes (MX Records found: work-mx.app.hey.com); x-return-mx=pass smtp.domain=swtch.com policy.is_org=yes (MX Records found: work-mx.app.hey.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrudehkedguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fkjgfugggtgfesrgejreertddtjeenucfhrhhomheptfhushhsucevohiguceorhhstges shifthgthhdrtghomheqnecuggftrfgrthhtvghrnhepgeetteduleetfeeiveeludeufe ffudeuleegjeduhfdviefflefhffehieefkedvnecukfhppedvtdegrdeivddruddugedr udefkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtdegrd eivddruddugedrudefkedphhgvlhhopedtudgrrdhhohhsthgvugdrhhgvhidrtghomhdp mhgrihhlfhhrohhmpeeorhhstgesshifthgthhdrtghomheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (swtch.com: Sender is authorized to use 'rsc@swtch.com' in 'mfrom' identity (mechanism 'include:_spf.hey.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="rsc@swtch.com"; helo=01a.hosted.hey.com; client-ip=204.62.114.138 Received: from 01a.hosted.hey.com (01a.hosted.hey.com [204.62.114.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Mon, 29 Mar 2021 13:45:28 -0400 (EDT) (envelope-from rsc@swtch.com) Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 01.hosted.hey.com (Postfix) with ESMTP id D066F1C071F for <9fans@9fans.net>; Mon, 29 Mar 2021 17:45:27 +0000 (UTC) Date: Mon, 29 Mar 2021 13:45:27 -0400 From: Russ Cox To: Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <8c579fdf17c7c275e4d024eb9b39d62a76e55f7a@hey.com> In-Reply-To: <202103291718.12THIVwL028125@freefriends.org> Subject: Re: [9fans] Can compile Plan9 C compiler for windows10? Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_6062123773cb4_16721d38961e5" Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is an admin Topicbox-Message-UUID: 9009f1ae-90b6-11eb-a0e1-c0f26a4ee289 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNGQ3N2NjOTVhYjRlZDcwYy1NMzgwOTVlN2I1MTY2MTg4M2Y5Nzcw?= =?UTF-8?B?MDZhPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M38095e7b51661883f977006a:1:dK643toPy0ZjBmPFFoWU6c298wueGQDEEYrQSGzPFZA ----==_mimepart_6062123773cb4_16721d38961e5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On March 29, 2021, arnold@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,=EF=BF=BD=EF=BF=BDmuch 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 Permalink: https://9fans.topicbox.com/groups/9fans/T4d77cc95ab4ed70c-M38095= e7b51661883f977006a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription ----==_mimepart_6062123773cb4_16721d38961e5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On March 29, 2021, arnold@skeeve.com wrote:
= OK - wasn't kenc ported to Linux for bootstrapping the early
Go co= mpilers? Is that version general, or not worth my trying to use?

The early Go compilers, written in C, were compiled with gcc o= r 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 co= mpilers have not kept up.
They're still fine for Plan 9 C code, bu= t given the choice
I wouldn't throw anything else at them.
Best,
Russ
= ----==_mimepart_6062123773cb4_16721d38961e5--