the native plan9 c environment is similar to ansi c but has some differences, 
mainly to the standard libraries.

plan9 also has an ansi/posix environment which is aimed at making it easier to 
port foreign code.

to use ape, use the pcc command.

there is a fairly complete command line enviroment which you can run ape/psh. 
this is a subshell which modifies your search path to pick up some different 
commands.

there is a paper in /sys/doc which describes ape more throughly.

-Steve


> On 6 Oct 2022, at 01:16, _ resun <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 / 9fans / see discussions + participants + delivery options Permalink

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

Reply via email to