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, 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 5561 invoked from network); 29 Mar 2021 17:18:46 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 29 Mar 2021 17:18:46 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id CD6792C5F5 for ; Mon, 29 Mar 2021 13:18:44 -0400 (EDT) (envelope-from bounce.mM6a254c61dea5a9cdc6797bc2.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id CAF7D1E82EDB; Mon, 29 Mar 2021 13:18:44 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none 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=skeeve.com; spf=none smtp.mailfrom=arnold@skeeve.com smtp.helo=freefriends.org; 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=from:message-id:date:to:subject:references :in-reply-to:mime-version:content-type:content-transfer-encoding :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1617038324; bh=B1RMT50ShDs9XSiU 9ioa2rdbr6PlJ8IY5qzyujnkNcI=; b=MrhzdmgVOgZaipuUViC9ht36ZSDhnDu2 1suMxqOUl8qq8OS14NvlPm2oMEbR095d9BBCJw3A4Je0mv7yitJe87iuggyunpzU WbeOGK0vTZFNG8arX7vQaujDMfy6Ygaa+4C8RC+YySg9HvFjPRPEOsEXCQkgort4 iboejq/mJMg= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1617038324; b=frHL9uSZJFfuCjGLn6Cjr3m+wEcqeL1X2JeOdHNRO4Vaf3zbJO RJkLC3Lcmq2pYr44PSLI6HvHnhpdIA4nAVN0/rhYOjDE7sn6bAX54f45qpvGoFKG 4Drx/Nrwd4jU1DXWIJBqiwJuaYwiT9OvtOuMMbfaPNBkMfEiTE5ag83po= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none 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=skeeve.com; spf=none smtp.mailfrom=arnold@skeeve.com smtp.helo=freefriends.org; 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-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none 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=skeeve.com; iprev=pass smtp.remote-ip=96.88.95.60 (freefriends.org); spf=none smtp.mailfrom=arnold@skeeve.com smtp.helo=freefriends.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=freefriends.org policy.ptr=freefriends.org; x-return-mx=pass header.domain=skeeve.com policy.is_org=yes (MX Records found: skeeve.com); x-return-mx=pass smtp.domain=skeeve.com policy.is_org=yes (MX Records found: skeeve.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=from :message-id:date:to:subject:references:in-reply-to:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=nbhcAbBN8EjvckotsMQnwAIaYPcjjtykWngM9yXa418=; b=nmN5ls/lDdre nOf/BG6rJgVxjtCvQbqEdu7MPFZrcY140EQdUx4KGf1AuAvagj+OmuR4D3NePuYp tziZKYjRmwN3OoKd7D63i+OZHrJ1Bkfu5nePb+7z4fp9fBSVUX0QF7/DS32hF9IS ubqOudbvA0dVjVkVn6r9gxomStXXEDY= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 0E6E32006141 for <9fans@9fans.net>; Mon, 29 Mar 2021 13:18:34 -0400 (EDT) (envelope-from arnold@skeeve.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 105D3F3628E; Mon, 29 Mar 2021 13:18:34 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1617038314; b=FK+TweBVH195yTtqj1FEl8agvr3caAeJ2gqeiKACNRAsGbltNN GXS5WSY6N1LmIrfzwBngGV+c2mqL4ti5obk8F9txaddxXYRqjD1LWnaJFYzSoMDs PvJnOzt9tBVEfQAGkDHw7+Mb7D1MKOa9z3EhAJFWCUxEcI/tuX6wOM2EJ8AZwIEY y0UZXC6abPYIbs+mkYc0tbw0eAVo5JEbojTmVahrPV1wfM59LS5vPXLF2dX4jX1z Vs80wjrUgr0EIxNLNstBMVN09Kh56nqsgNRkfdDCCw2EJZVG+FY5pwb7NTtp2uS0 z9zLbSmLwggpxOFl4OUq7J7R7kia4u1aCOow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:message-id:date:to:subject:references :in-reply-to:mime-version:content-type :content-transfer-encoding; s=arcseal; t=1617038314; bh=ihoAfKOz lZo+5l7lSPEILlHw4yYGf28L41yDVfieKAc=; b=XkGsOovfcBftU+ek8ofertxi cNyjOo3/iYsjlPt8KiQq0DGVlSTKDtXeuXLM5Owkrqzcqi2EJOXe4Q7zFS3ZSqZD /7e0R0HtWPr1YOfkj5r6+YkLTNLe0HXDxWucVa6FxEdfXMJkJAh9mEiD7hdzyZjH frm5TiVDZY/A4K7dJseZ5TkYQF+B1YboJ32r4EZ4PsQgDWI5wmgXWBez1ARgubRK /Ff2r2g83/WDcUWIqIsDUsxQmnhEkvmX5WhuF92rNuT2IFSARGJMFVCicIGaj08s kj+/dMLl7oe9Vr/Fi4v+RFHt4LqCZXxSUiZmMAFhXbgzxscpHtMFx4ZLtx5jdw== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none 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=skeeve.com; iprev=pass smtp.remote-ip=96.88.95.60 (freefriends.org); spf=none smtp.mailfrom=arnold@skeeve.com smtp.helo=freefriends.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=freefriends.org policy.ptr=freefriends.org; x-return-mx=pass header.domain=skeeve.com policy.is_org=yes (MX Records found: skeeve.com); x-return-mx=pass smtp.domain=skeeve.com policy.is_org=yes (MX Records found: skeeve.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: gggruggvucftvghtrhhoucdtuddrgeduledrudehgedgudeigeculddtuddrgeduhedrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecunecujfgurhephffkfffvufhfjggfgggtgfesthejtddttdervdenucfhrhhomhep rghrnhholhgusehskhgvvghvvgdrtghomhenucggtffrrghtthgvrhhnpeeijefhvdeivd dufeevffekkeekkeejieeivefgjeevjeefgfejvdevleetteelgeenucffohhmrghinhep lehprdhiohdpthhophhitggsohigrdgtohhmnecukfhppeeliedrkeekrdelhedriedtne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepleeirdekkedrleeh rdeitddphhgvlhhopehfrhgvvghfrhhivghnughsrdhorhhgpdhmrghilhhfrhhomhepoe grrhhnohhlugesshhkvggvvhgvrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: none (skeeve.com: No applicable sender policy available) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="arnold@skeeve.com"; helo=freefriends.org; client-ip=96.88.95.60 Received: from freefriends.org (freefriends.org [96.88.95.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Mon, 29 Mar 2021 13:18:33 -0400 (EDT) (envelope-from arnold@skeeve.com) X-Envelope-From: arnold@skeeve.com X-Envelope-To: <9fans@9fans.net> Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 12THIVFa028126 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <9fans@9fans.net>; Mon, 29 Mar 2021 11:18:32 -0600 Received: (from arnold@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 12THIVwL028125 for 9fans@9fans.net; Mon, 29 Mar 2021 11:18:31 -0600 From: arnold@skeeve.com Message-Id: <202103291718.12THIVwL028125@freefriends.org> X-Authentication-Warning: frenzy.freefriends.org: arnold set sender to arnold@skeeve.com using -f Date: Mon, 29 Mar 2021 11:18:31 -0600 To: 9fans@9fans.net Subject: Re: [9fans] Can compile Plan9 C compiler for windows10? References: <0f77c99c5130d1ce2fe33ab8c32db88a09ebfb12@hey.com> <202103291414.12TEEIJP004120@freefriends.org> In-Reply-To: User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: cced8c7e-90b2-11eb-aac6-d22770ea0ecd Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNGQ3N2NjOTVhYjRlZDcwYy1NNmEyNTRjNjFkZWE1YTljZGM2Nzk3?= =?UTF-8?B?YmMyPg==?= 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:M6a254c61dea5a9cdc6797bc2:1:pKjwJSmDBSxaqnX69wCeX5C3Z5zIjJN1Fpp-fKEVI1s OK - wasn't kenc ported to Linux for bootstrapping the early Go compilers? Is that version general, or not worth my trying to use? Thanks, Arnold Charles Forsyth wrote: > > > > I doubt very much that using the Plan 9 C compilers will bring much > > additional benefit for finding bugs (except bugs in the compiler!). > > > The cross-file type-checking does sometimes pick up unpleasantness caused > by type mismatches. > It was originally added to allow dynamically-loaded object modules to be > checked against the loading specification. > It has found a few problems elsewhere, including one in Python where one = .c > file included a .h with a certain #define > in scope that another .c file didn't define by accident, causing the two = .c > files to have completely different memory layouts > for a structure. > > > > Out of curiousity, why is linking against the system libraries so > > hard? I assume a port of kenc to Linux would have a driver program > > that would just invoke the system ld(1). I'd think that getting > > the ABI and generation of ELF (or of standard Linux assembly language) > > correct would be the hard part. > > What am I missing? >=20 >=20 > It works very differently from what you expect > http://9p.io/sys/doc/compiler.html : >=20 > The compiler is a single program that produces an object file. Combined in > the compiler are the traditional roles of preprocessor, lexical analyzer, > parser, code generator, local optimizer, and first half of the assembler. > The object files are binary forms of assembly language, similar to what > might be passed between the first and second passes of an assembler. >=20 > Object files and libraries are combined by a loader program to produce the > executable binary. The loader combines the roles of second half of the > assembler, global optimizer, and loader. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4d77cc95ab4ed70c-M6a254= c61dea5a9cdc6797bc2 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription