Getting cross compilation to work.

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Apr 20 10:19:22 UTC 2026


--------
Dridi Boukelmoune writes:

> Also, I think that for the most part codegen from RST is already done
> in Python: generate.py and vmodtool, plus vsctool and its pseudo-RST.
>
> Off the top of my head what we do with docs in C that requires running
> programs during the build is generating RST. So the solution would
> actually be to generate more C code from docs, going from docgen in C
> to codegen in Python. One example is the large params.h table that
> could be generated from RST code.

+1


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the vinyl-dev mailing list