Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

Crystal language... How does Debian compile it?

$
0
0
I'm trying to figure out how to bootstrap the Crystal language.

There's a bootstrap script on the upstream org, but it's unmaintained and after a few hours of fiddling and solving some basic problems, I'm not sure I'm going to get anywhere with this approach. (EDIT: I've since posted my findings trying to use the crystal bootstrap-script over on this upstream thread, where someone else attempted something similar a year ago).

Now I notice Debian bookworm (which I use as my main OS) has crystal 1.6.0 in apt. I have done some vague reading over the years on Debian's principles, how Debian packages things etc., though so far I've not had the experience of packaging something myself. But I get the impression that Debian only distributes software which they can compile from source with no binary blobs required, so this implies Debian has found a way to bootstrap Crystal already.

I looked up the Debian source for crystal, but it seems the only added files are in the "debian" directory, and the only one of interest seems to be the "rules" file. That is a very small file though and it's not really shedding any light for me on how this manages to build Crystal.

Can anyone give me some pointers? Am I right that somewhere in the world there is a machine that is, or has been, somehow bootstrapping and compiling Crystal purely from source, and pushing out crystal packages to apt, and if so how can I replicate this? Or am I missing something fundamental here?

Thanks in advance to anyone who can help. :)

Statistics: Posted by tycode — 2024-11-18 12:42 — Replies 5 — Views 165



Viewing all articles
Browse latest Browse all 3474

Trending Articles