Getting cross compilation to work.
Per Buer
per.buer at varnish-software.com
Mon Apr 20 06:14:15 UTC 2026
Hi.
I have a suggestion. Currently, cross-compilation is broken. The biggest
problem is the, imo overly clever use of RST (a formatting language) for
data. During the build, the C code is compiled, which outputs RST used to
build the documentation.
How about moving this into a language made for data rather than formatting?
So, with the data in JSON, the Python code will output C struct/array
initializers for the binary to use at runtime as well as the RST consumed
by the docs.
The goal is easy cross-compilation. A bonus is that building a standalone
configuration compiler would be easier if we ever wanna cross that bridge.
--
Per Buer
Varnish Software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vinyl-cache.org/lists/pipermail/vinyl-dev/attachments/20260420/66f772b1/attachment.html>
More information about the vinyl-dev
mailing list