u/ArcTanDeUno

▲ 2 r/plan9

How to link ANSI C and Plan9 C code together ?

I'm trying to use an ANSI C library (picohttpparser) in a Plan 9 C project (i.e. main function is implemented in Plan9 C). The output of mk is below:

7c -FTVw main.c
pcc -c picohttpparser.c
7l  -o 7.out main.7 picohttpparser.7
_callmain: redefinition: _callmain
(555)	TEXT	_callmain+0(SB),R1,$296
mk: 7l  -o ...  : exit status=7l 17932: error

How should I go about resolving this ?

Thanks!

reddit.com
u/ArcTanDeUno — 11 days ago
▲ 12 r/plan9

How to link ANSI C and Plan9 C code together ?

I'm trying to use an ANSI C library (picohttpparser) in a Plan 9 C project (i.e. main function is implemented in Plan9 C). The output of mk is below:

7c -FTVw main.c
pcc -c picohttpparser.c
7l  -o 7.out main.7 picohttpparser.7
_callmain: redefinition: _callmain
(555)	TEXT	_callmain+0(SB),R1,$296
mk: 7l  -o ...  : exit status=7l 17932: error

How should I go about resolving this ?

EDIT: Used NPE, and it now just works without pcc.

Thanks!

reddit.com
u/ArcTanDeUno — 11 days ago
▲ 19 r/plan9

Any console based editor for 9front ?

Is there some console based text editor for 9front/plan9 that I can install, something that doesn't require using mouse, something that can be used with drawterm -G ? My fallback is mounting the remote 9p filesystem to my GNU/Linux host, and edit there.

Thanks!

reddit.com
u/ArcTanDeUno — 27 days ago
▲ 14 r/plan9

IPv6 SLAAC privacy extensions available in 9front ?

I assume the answer is likely no, but I just want to make sure.

Thanks in advance

reddit.com
u/ArcTanDeUno — 3 months ago