@Steve Simon<mailto:st...@quintile.net> coincident: I just made my cup of 
coffee and just when I was about to drink it I saw your mail saying, “coffee 
first, then reply to mailing lists”. Cheers through the mail ☕ .

_resun

From: Steve Simon<mailto:st...@quintile.net>
Sent: Thursday, October 6, 2022 17:30
To: 9fans<mailto:9fans@9fans.net>
Subject: Re: [9fans] How can I compile c code written for plan9 in ANIS C 
compiler

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 <charles.fors...@gmail.com> wrote:

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 (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 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.


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

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?

Thank you.

_resun

9fans<https://9fans.topicbox.com/latest> / 9fans / see 
discussions<https://9fans.topicbox.com/groups/9fans> + 
participants<https://9fans.topicbox.com/groups/9fans/members> + delivery 
options<https://9fans.topicbox.com/groups/9fans/subscription> 
Permalink<https://9fans.topicbox.com/groups/9fans/T422378fc25787720-M65dcd8bbdf9f7c4562187ac0>


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T422378fc25787720-Mfb7d1b8c9ec9ee088d1b85f8
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to