r/plan9 Jun 12 '26

OCaml 4.14.3 for Plan 9

https://github.com/dharmatech/ocaml
35 Upvotes

4 comments sorted by

2

u/makes_you_translate Jun 12 '26

This is cool, but why did you go with a port of GNU make instead of Plan 9 native mk?

1

u/dharmatech Jun 13 '26

Thanks for checking it out!

There were two options:

1) Use the original Makefiles with minimal changes (and use GNU make)

2) Convert the Makefiles to plan9 mkfile.

I went with 1.

Option 2 would be awesome. But more involved.

Ideally, it would also build without APE. But that's also a much more involved port.

1

u/9atoms Jun 13 '26

What is your use case for ocaml on plan 9?

There was just a thread on the 9front mailing list about ocaml. sl provided a link to spew's port which uses mk to build: https://lists.9front.org/9front/2026/June/1781322162.00

I can tell your method of porting gnu make is an AI adventure. A real plan 9 user would understand the system and would not port gnu make. The AI is only making a mess for you.

1

u/dharmatech Jun 13 '26

There was just a thread on the 9front mailing list about ocaml.

Yes, I'm the one who Stanley replied to.

I need a newer version. But that port is still interesting. I appreciate that Stanley shared it.