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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26890 invoked from network); 6 Oct 2022 11:30:15 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 6 Oct 2022 11:30:15 -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 489C92BEC1 for ; Thu, 6 Oct 2022 07:30:13 -0400 (EDT) (envelope-from bounce.mM65dcd8bbdf9f7c4562187ac0.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 4872B328700; Thu, 6 Oct 2022 07:30:13 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=S8WwuSjr header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; 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=quintile.net; spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx1.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:date:message-id:references:in-reply-to:to :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1665055813; bh=TjOqCV3aKSaPzrDT SUF0NffgU3kiVlsfVCA760jEtX0=; b=Q6RUQi0wlHJVQS3TL3A+GOGokEzNjCXP ePo2VxXqZzWx+xMwRkhP3X9DXfS1N08JFoNNdDHB5sPKc55tyA8Tn5p0dJys9370 HDBNaDv2bJOiFQF05YwFKYicahQCr9N7pCRQfLP/LpSisfd8bPjX0kIn8L9k/qFQ zOZNXDvOfk0= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1665055813; b=bF5HiitoDXHKA3qnX4aJd8tlNXvhYQXbB/lbP3LgW2B9KbC6M1 X+lWMWvJtt7dY6SV+oyEO5cn1ENQm3V6aTJWKoHFOTojMPrpMuEGd8qmTyW15hqC mku6AQLfg65RIu3FDnsqMnV1PmyTNb+uqqbB/Ihil7K+NTGTRVSpqPGTY= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=S8WwuSjr header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; 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=quintile.net; spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx1.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body 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=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=S8WwuSjr header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; 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=quintile.net; iprev=pass smtp.remote-ip=46.235.224.141 (mx1.mythic-beasts.com); spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx1.mythic-beasts.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx1.mythic-beasts.com policy.ptr=mx1.mythic-beasts.com; x-return-mx=pass header.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-return-mx=pass smtp.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=49 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= content-type:content-transfer-encoding:from:mime-version:subject :date:message-id:references:in-reply-to:to:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1665055813; x=1665142213; bh=n9GY8uOvXqim9ddtAWk6lygaEUsMpzeS /4q2Vwqpa6s=; b=LvyPB+woO3DIMlo6PfZ97q6OfRGIoyL48KVAYeaC3/t5wfHU 90e8r99mlJDqZSXYXqgH9zTWmBgJhO5HM3RNUfOtVnwjCE/ZJ6TuFUXd3Oiw4t0Y 5c3qm9TJT9+9GUA0HwzmXwjMEhnCVlOP9W+w87NdffxGJ8zJFnLVTUJwmn8= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id DC77340183 for <9fans@9fans.net>; Thu, 6 Oct 2022 07:29:43 -0400 (EDT) (envelope-from steve@quintile.net) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 30CE705CDEA; Thu, 6 Oct 2022 07:29:43 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1665055783; b=YJ59DJ0nPqBXbbkEAfG/jxxVA6p4/fXhQ+MqGwbEbh6W5sr2NX yLKNuguMLysNM7MQYmgNZP4lCCJcN0n+adyFYcUozqb8XqiH+PIuFmWQdyWpHQDp F0ijAisxfAQSlXONLdxXPxX6oHKD6F2DDRMag11zAyYEyBfE7mSg9frPtV+iD9Rc LlY3hyjgCZkaeKiwmLtvhhhQqlxGUhPkDVWRxFDbsFPRy7Slzh4yMGGKf1jXEZw9 e1v7zRnJ5V+DT8it4VDkzKTtwyCVGk+f1ceL/5RsDNliRPHbOZ7ckmY4WZYtBeLz QZgQLZDPyf6hnKzY+nBRcIhzzkoTg7oTxXWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:date:message-id:references:in-reply-to:to; s=arcseal; t=1665055783; bh=2xWiZorqpcaRF9x91897jBvFitsx42Q7VI1 gLnvCw4k=; b=l+1xSoaWHztGWi14L2THXzEfPVEFt9grkUBh+DeQgWnyNJfRd1a fjpzXStKYuDemhCWT4SccC4vJudLewvdcQ4hktyLu9U+3dSfVDiCQRKd8r8oWand fxPqdMg7EPRSrEpMHnjAOOkRqAJ6XsUS51RQctztjQV7fJvjKm/wP0sW+Fdcyvvy tIhLeJ3V4lPe7rwHDzmrh/Y1LzSXIlxeciX1IXM/g/UTDaEee3L3GduTLkT2YIDw IG+IkTa6rGmRmKj+zjQUeQ06WpmUdPsthhq/o19vbUZ6Qo9Jq38ow+reiSglbl/t 89vcDhzF1bfVf1HfcBahTJdxuXeCrLeZRLA== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=quintile.net header.i=@quintile.net header.b=S8WwuSjr header.a=rsa-sha256 header.s=mythic-beasts-k1 x-bits=2048; 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=quintile.net; iprev=pass smtp.remote-ip=46.235.224.141 (mx1.mythic-beasts.com); spf=pass smtp.mailfrom=steve@quintile.net smtp.helo=mx1.mythic-beasts.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx1.mythic-beasts.com policy.ptr=mx1.mythic-beasts.com; x-return-mx=pass header.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-return-mx=pass smtp.domain=quintile.net policy.is_org=yes (MX Records found: mx.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=49 state=0 X-ME-VSSU: VW5zdWI9bWFpbHRvOnNhaWYucmVzdW5Ab3V0bG9vay5jb20 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeihedggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffoh hmrghinhculdegledmnecujfgurheptgfghfggufffkfhfjgfvofesrgejmherhhdtjeen ucfhrhhomhepufhtvghvvgcuufhimhhonhcuoehsthgvvhgvsehquhhinhhtihhlvgdrnh gvtheqnecuggftrfgrthhtvghrnheptdeujefgtefgledvieeuleejgedugeehfeevjeeh ieehieeukeekfeefteetfffgnecuffhomhgrihhnpehgihhthhhusgdrihhopdhtohhpih gtsghogidrtghomhenucfkphepgeeirddvfeehrddvvdegrddugedupdekuddrudekjedr udelkedrudefvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpe egiedrvdefhedrvddvgedrudeguddphhgvlhhopehmgidurdhmhihthhhitgdqsggvrghs thhsrdgtohhmpdhmrghilhhfrhhomhepoehsthgvvhgvsehquhhinhhtihhlvgdrnhgvth eq X-ME-VSScore: 49 X-ME-VSCategory: clean Received-SPF: pass (quintile.net: Sender is authorized to use 'steve@quintile.net' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="steve@quintile.net"; helo=mx1.mythic-beasts.com; client-ip=46.235.224.141 Received: from mx1.mythic-beasts.com (mx1.mythic-beasts.com [46.235.224.141]) (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>; Thu, 6 Oct 2022 07:29:42 -0400 (EDT) (envelope-from steve@quintile.net) Received: from [81.187.198.132] (port=52688 helo=smtpclient.apple) by mailhub-cam-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ogP4P-002Oue-DQ for 9fans@9fans.net; Thu, 06 Oct 2022 12:29:41 +0100 Content-Type: multipart/alternative; boundary=Apple-Mail-AC0A58C2-3FDE-4FBF-873E-52F9FC3D3DB4 Content-Transfer-Encoding: 7bit From: Steve Simon Mime-Version: 1.0 (1.0) Subject: Re: [9fans] How can I compile c code written for plan9 in ANIS C compiler Date: Thu, 6 Oct 2022 12:29:40 +0100 Message-Id: References: In-Reply-To: To: 9fans <9fans@9fans.net> X-Mailer: iPhone Mail (19G82) X-BlackCat-Spam-Score: 14 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 306bc9ba-456a-11ed-af7b-d4f2b660b659 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNDIyMzc4ZmMyNTc4NzcyMC1NNjVkY2Q4YmJkZjlmN2M0NTYyMTg3?= =?UTF-8?B?YWMwPg==?= 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:M65dcd8bbdf9f7c4562187ac0:1:8KK3lTsFl_pIGJYXNXeeecsZWsuUzRkzSimL7ylxcOg --Apple-Mail-AC0A58C2-3FDE-4FBF-873E-52F9FC3D3DB4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable apologies for completely missing the point, note to self: coffee first, then reply to mailing lists -Steve > On 6 Oct 2022, at 11:21, Charles Forsyth wrot= e: >=20 > =EF=BB=BF > If you look at plan9port (eg, https://9fans.github.io/plan9port/), you'll= see how that's done for a good chunk of the application code of Plan 9 (us= ing host C compilers). > It also includes versions of the Plan 9 libraries that will also compile = on other systems. > Indeed, if you install plan9port you should be able to use its mk, 9c and= 9l and mkfile structure to compile your Plan 9 code directly (since that's= how the Plan 9 libraries are compiled in plan9port). > The main restriction is that various Plan 9 C extensions aren't available= , so those need to be removed first. >=20 >=20 >> On Thu, 6 Oct 2022 at 01:17, _ resun wrote: >> Hi there! >>=20 >>=20=20 >>=20 >> Is there any way I can compile a C code that is written for plan9 using = a ANSI C compile? Is there any way to replace the plan9 headers with ANSI = standard c headers? >>=20 >>=20=20 >>=20 >> Thank you. >>=20 >>=20=20 >>=20 >> _resun >>=20 >>=20=20 >>=20 >=20 > 9fans / 9fans / see discussions + participants + delivery options Permali= nk ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T422378fc25787720-M65dcd= 8bbdf9f7c4562187ac0 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --Apple-Mail-AC0A58C2-3FDE-4FBF-873E-52F9FC3D3DB4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
apologies for completely missing the point,
note to self: coffee first, then reply to mailing lists

-Steve

On 6 Oct 2022, at 11:21, Charles Forsyth <charle= s.forsyth@gmail.com> wrote:


If you look at plan9p= ort (eg, https://9fans.= github.io/plan9port/), you'll see how that's done for a good ch= unk of the application code of Plan 9 (using host C compilers).
It also= includes versions of the Plan 9 libraries that will also compile on other = systems.
Indeed, if you install plan9port you should be able to u= se its mk, 9c and 9l and mkfile structure to compile your Plan 9 code direc= tly (since that's how the Plan 9 libraries are compiled in plan9port).<= br />
The main restriction is that various Plan 9 C extensions aren'= ;t available, so those need to be removed first.


On Thu, 6 Oct 2022 at 01:17, _ resun <saif.resun@outlook.com> wrote:

Hi there!

&nb= sp;

Is there any way I can compile a C code th= at is written for plan9 using a ANSI  C compile? Is there any way to r= eplace the plan9 headers with ANSI standard c headers?

 

Thank you.

 

_resun

 

=
= --Apple-Mail-AC0A58C2-3FDE-4FBF-873E-52F9FC3D3DB4--